aboutsummaryrefslogtreecommitdiff
path: root/scripts/showasm
diff options
context:
space:
mode:
authorliwugang <liwugang@xiaomi.com>2019-04-04 18:45:59 +0800
committerRob Landley <rob@landley.net>2019-04-04 14:08:16 -0500
commit063e8a8deaa89ca35ce6795f216c870e2df0743d (patch)
tree4a86898253d78765dd3515e5dc95d2b0f3bfceea /scripts/showasm
parentaf2ee8dc9e35ee2148b9163827e81543b7e6ac1b (diff)
downloadtoybox-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 'scripts/showasm')
0 files changed, 0 insertions, 0 deletions