diff options
author | liwugang <liwugang@xiaomi.com> | 2019-04-04 18:45:59 +0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-04-04 14:08:16 -0500 |
commit | 063e8a8deaa89ca35ce6795f216c870e2df0743d (patch) | |
tree | 4a86898253d78765dd3515e5dc95d2b0f3bfceea /tests/files/bzcat/badcrc.bz2 | |
parent | af2ee8dc9e35ee2148b9163827e81543b7e6ac1b (diff) | |
download | toybox-063e8a8deaa89ca35ce6795f216c870e2df0743d.tar.gz |
stat: avoid null dereference.
When the specified format string has odd '%' in the end,
the next_printf function will return null. Checking
the result value before using it.
Signed-off-by: liwugang <liwugang@xiaomi.com>
Diffstat (limited to 'tests/files/bzcat/badcrc.bz2')
0 files changed, 0 insertions, 0 deletions