Coverity catches X Window Security Hole
Posted May 3, 2006 1:18 UTC (Wed) by
davej (guest, #354)
In reply to:
Coverity catches X Window Security Hole by cortana
Parent article:
Coverity catches X Window Security Hole
neither -Wall or -Wextra will catch this bug.
The only thing I've found that prints any warning at all, is splint, which prints the following...
test.c:5:23: Operands of != have incompatible types ([function (void) returns
__uid_t], int): geteuid != 0
Types are incompatible. (Use -type to inhibit warning)
gcc is completely silent on the matter.
(
Log in to post comments)