commit | 3967f81b561cb989ee957aa7e3996e543e20d524 | [log] [tgz] |
---|---|---|
author | nks <nks@sixserv.org> | Sat Apr 12 18:52:27 2014 +0200 |
committer | Colin Cross <ccross@android.com> | Sun Apr 13 10:45:30 2014 -0700 |
tree | df452007e85646e8648bf772ba012bd9a12a2e7b | |
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