summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorSergio Giro <sgiro@google.com>2016-06-28 18:02:29 +0100
committerSergio Giro <sgiro@google.com>2016-07-14 12:34:30 +0000
commit5fce0542b6b822b6a79fc4cb0e12db1eb7d41f6c (patch)
tree2338a91503f2377f73db3b1bcabbf2ef14a28637 /libutils/ProcessCallStack.cpp
parent311002936e97a36b1ce4812ed690d6cf9c2a75c4 (diff)
DO NOT MERGE libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8
Inconsistent behaviour between utf16_to_utf8 and utf16_to_utf8_length is causing a heap overflow. Correcting the length computation and adding bound checks to the conversion functions. (cherry picked from commit c4966a363e46d2e1074d1a365e232af0dcedd6a1) Bug: 29250543 Change-Id: Ia2d6a550f5594280505fb0835c752e53898700ed
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions