diff options
| author | Johannes Carlsson <johannes.carlsson.x@sonyericsson.com> | 2010-06-30 08:45:55 +0200 |
|---|---|---|
| committer | Kenneth Andersson <kenneth.andersson@sonyericsson.com> | 2010-07-02 10:20:55 +0200 |
| commit | 3372f2e259247810627fd22033406163284f4f64 (patch) | |
| tree | 8f79b47f5ef201179a5383b8b0a021055292fde0 /docs/html/sdk/api_diff/13/changes | |
| parent | dd1880ee5bea09e9d37c6db29ef20e49d619c094 (diff) | |
Corrected buffer overflow when parsing /proc/wakelocks
The android_os_Process_parseProcLineArray in android_util_Process.cpp
writes up to buffer[endIndex]. This sometimes caused an assert to be
triggered in NewStringUTF when the output from /proc/wakelocks was
larger than 4096 bytes. The buffer was also increased in order to be
able to parse all wakelocks completely.
Change-Id: Idf8e66d61ad979377569048f59c3eee278b146db
Diffstat (limited to 'docs/html/sdk/api_diff/13/changes')
0 files changed, 0 insertions, 0 deletions
