#92 closed defect (fixed)
Compile failure with --enable-suidcheck and -D_FORTIFY_SOURCE=1
Reported by: | rainer | Owned by: | rainer |
---|---|---|---|
Priority: | major | Milestone: | 2.4.4 |
Component: | main | Version: | 2.4.3 |
Keywords: | Cc: |
Description
Compiling fails because of an open() call with O_CREAT and missing third argument:
gcc -DHAVE_CONFIG_H -I. -I./include -O2 -D_FORTIFY_SOURCE=1 -fstack-protector -pthread -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -DSH_WITH_CLIENT -o sh_suidchk.o -c x_sh_suidchk.c In function ‘open’, inlined from ‘sh_q_move’ at x_sh_suidchk.c:528: /usr/include/bits/fcntl2.h:51: erreur: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
Reported by J.-S. Eon
Note:
See TracTickets
for help on using tickets.
Fixed in changeset [165].