Bugzilla – Bug 331
Missing sudoers file causes core dump
Last modified: 2009-02-03 09:00:27 MST
Installation: ./configure && make && make install To reproduce: # rm /etc/sudoers ^D $ sudo sudo: can't stat /etc/sudoers: No such file or directory Segmentation Fault (core dumped) Platform: Solaris 10, SPARC SunOS gronk 5.10 Generic_137111-03 sun4u sparc SUNW,Ultra-5_10 Backtrace from mdb: > $C ffbff650 libc.so.1`fileno(309a0, 0, 9875c, 0, ff26e2f4, 0) ffbff748 sudo_file_open+0x28(ffffffff, 4, 0, 0, 44000, 4) ffbff7b8 main+0x538(44bd8, ffbffa88, 43c00, 50000, 0, 43c00) ffbff9a8 _start+0x5c(0, 0, 0, 0, 0, 0) >
Already fixed in cvs, will be in sudo 1.7.1. There are no security implications.