summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2025-05-11 19:30:01 +0200
committerPaul Moore <paul@paul-moore.com>2026-05-06 19:43:16 -0400
commit60fb8dc7bf1af48edb443b5b0ca721de8b6ed449 (patch)
tree5ba803698868338058f90a86fd10e002d4c925be /scripts/stackusage
parentcf6a513f1937581eb012a217b29817e025a1a0ef (diff)
selinux: avoid nontransitive comparison
Avoid using nontransitive comparison to prevent unexpected sorting results due to (well-defined) overflows. See https://www.qualys.com/2024/01/30/qsort.txt for a related issue in glibc's qsort(3). Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com> [PM: use the cmp_int() macro from sort.h] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions