diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-02-11 00:00:06 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-02-11 01:46:31 +0100 |
commit | de18ddf49a27a98b1b5b999a80946b10ea3e0843 (patch) | |
tree | 88a0e73fe70d54b938c4ec34968ea74818106848 /include | |
parent | e5a5176e2af204d154008f871ff577b50186ab8d (diff) | |
download | hardware_replicant_libsamsung-ipc-de18ddf49a27a98b1b5b999a80946b10ea3e0843.tar.gz hardware_replicant_libsamsung-ipc-de18ddf49a27a98b1b5b999a80946b10ea3e0843.tar.bz2 hardware_replicant_libsamsung-ipc-de18ddf49a27a98b1b5b999a80946b10ea3e0843.zip |
tools: nv_data-imei: fix crash with commands options without command
Without that fix command can be NULL when it reaches this assert:
assert(command->options & OPTION_FILE);
The crash can be reproduced by running nv_data-imei with command
options but without the command itself, for example with
'nv_data-imei -i 1'.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions