selinux/policycoreutils
Christian Göttsche 9229f8b3b7 policycoreutils: handle argument counter of zero
The number of arguments passed to main(), argc, can be zero if the
pathname passed to execve(2) is NULL, e.g. via:

    execve("/path/to/exe", {NULL}, {NULL});

Also avoid NULL pointer dereferences on the argument value.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
2022-02-07 11:14:26 -05:00
..
.tx
hll Fix many misspellings 2019-09-18 22:47:35 +02:00
load_policy selinux: Remove legacy local boolean and user code 2019-07-29 23:46:24 +02:00
man Modified Russian and English man pages to fix typo; REQUIREUSERS -> REQUIRESEUSERS 2021-11-29 18:51:19 +01:00
newrole policycoreutils: mark local functions static 2021-11-15 16:00:54 -05:00
po Fix many misspellings 2019-09-18 22:47:35 +02:00
run_init policycoreutils: handle argument counter of zero 2022-02-07 11:14:26 -05:00
scripts fixfiles: do not exclude /dev and /run in -C mode 2021-05-12 09:36:16 +02:00
secon policycoreutils: handle argument counter of zero 2022-02-07 11:14:26 -05:00
semodule semodule: Don't forget to munmap() data 2021-11-29 18:50:01 +01:00
sestatus policycoreutils: mark local functions static 2021-11-15 16:00:54 -05:00
setfiles policycoreutils: handle argument counter of zero 2022-02-07 11:14:26 -05:00
setsebool setsebool: report errors from commit phase 2020-04-28 09:26:26 +02:00
.gitignore Move policycoreutils/semodule_package to semodule-utils. 2016-11-16 11:19:51 -05:00
COPYING
Makefile Move policycoreutils/semodule_package to semodule-utils. 2016-11-16 11:19:51 -05:00
VERSION Update VERSIONs to 3.3 for release. 2021-10-21 16:31:23 +02:00