selinux/policycoreutils/setfiles
Christian Göttsche fc2e9318d0 setfiles: avoid unsigned integer underflow
While well-defined unsigned integer underflow might signal a logic
mistake or processing of unchecked user input.  Please Clang's undefined
behavior sanitizer:

    restore.c:91:37: runtime error: unsigned integer overflow: 1 - 2 cannot be represented in type 'unsigned long'

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2024-01-25 12:51:20 -05:00
..
Makefile Do not automatically install Russian translations 2023-08-16 13:33:47 -04:00
restore.c setfiles: avoid unsigned integer underflow 2024-01-25 12:51:20 -05:00
restore.h setfiles: introduce the -C option for distinguishing file tree walk errors 2022-05-04 10:31:43 +02:00
restorecon_xattr.8 policycoreutils: Add examples to man pages 2023-06-08 15:10:05 -04:00
restorecon_xattr.c policycoreutils: Resolve path in restorecon_xattr 2021-02-24 10:56:57 +01:00
restorecon.8 policycoreutils: Add examples to man pages 2023-06-08 15:10:05 -04:00
setfiles.8 checkpolicy,libselinux,libsepol,policycoreutils,semodule-utils: update my email 2023-08-04 13:57:01 -04:00
setfiles.c setfiles: do not issue AUDIT_FS_RELABEL on dry run 2023-10-11 14:58:54 -04:00