diff options
author | Rob Landley <rob@landley.net> | 2015-09-12 15:46:46 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-09-12 15:46:46 -0500 |
commit | edae0b07db841e3bf8449d591971f04c9957ecbc (patch) | |
tree | 186c7e6504e3217ba630714b4577c23f4ac3ec94 /tests/blkid/xfs.bz2 | |
parent | e5354ca12a232b3f97726214254a868771cb70d1 (diff) | |
download | toybox-edae0b07db841e3bf8449d591971f04c9957ecbc.tar.gz |
Fix a find segfault.
Elliott Hughes found a bug https://android-review.googlesource.com/#/c/170020/
and Daniel K. Levy worked out the problem: the user/group/newer arguments
to find weren't consuming their arguments when not checking the results of
their comparison (because an earlier test had already caused their
parenthetical group to fail). This confused the argument parsing logic
and could lead to segfaults.
I applied a different fix that reorganized the existing tests instead of
adding a new test. (Looks like a big commit but it's mostly whitespace
due to extra curly brackets changing indendentation levels.)
Diffstat (limited to 'tests/blkid/xfs.bz2')
0 files changed, 0 insertions, 0 deletions