commit | 38aeada42e8f6abae2da84f87b90dab3710d8466 | [log] [tgz] |
---|---|---|
author | Yifei Teng <[email protected]> | Wed Jan 15 14:10:26 2020 -0800 |
committer | Yifei Teng <[email protected]> | Sun Jan 26 23:19:10 2020 -0800 |
tree | 8c5d19221d57795ed6bc013e0afd83cd9ea2c35e | |
parent | d503e6b46269b1bd8c1d897e4254021220c3104f [diff] |
[sbase] Fix buffer overflow in find. It looks like the parse() function injects "-print"/"-a" arguments after tokenizing, without resizing the "stack" variable. TEST: running `find /bin` under asan does not crash. Change-Id: I9533d787a22dce20216c57ce946b2faf89889fd8