diff options
author | nks <nks@sixserv.org> | 2014-04-12 18:52:27 +0200 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-04-13 10:45:30 -0700 |
commit | 3967f81b561cb989ee957aa7e3996e543e20d524 (patch) | |
tree | df452007e85646e8648bf772ba012bd9a12a2e7b /libutils/FileMap.cpp | |
parent | 835526fdc035cad6d712a7098d0eae37b3995d2c (diff) |
Fix buffer overflow in syren utility
Patch for https://code.google.com/p/android/issues/detail?id=68268
A length check for the argv[2] was added in order to prevent buffer
overflow. Also replace strcpy with strlcpy.
Signed-off-by: nks <nks@sixserv.org>
Change-Id: If65b83e9b658315c672e684f64e3ae00e69fac31
Diffstat (limited to 'libutils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions