| commit | da8e3c7d3696096687983034a7e965e822a1a2b0 | [log] [tgz] |
|---|---|---|
| author | Nicolas Iooss <nicolas.iooss@m4x.org> | Sun Sep 01 20:06:28 2019 +0200 |
| committer | James Carter <jwcart2@tycho.nsa.gov> | Tue Sep 17 10:38:34 2019 -0400 |
| tree | 5a9d7fa696faecfe00571e3f1bd83098b7ee3611 | |
| parent | 4a266cc3ce05eed2094b8ae1d4297b98efa4278c [diff] |
semodule-utils: fix comparison with argc In order for argv[3] to be used, argc needs to be at least 4, not 3. This bug was found using lgtm.com analyzer: https://lgtm.com/projects/g/fishilico/selinux-for-lgtm/snapshot/8c1b2658f80392ff8b3532c6bd5d0cefac8afb30/files/semodule-utils/semodule_package/semodule_unpackage.c?sort=name&dir=ASC&mode=heatmap#xb1ce80b43260d34c:1 Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>