Don't allow insults to be enabled if the insults[] array is empty.
Otherwise there would be division by zero.
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1193,7 +1193,7 @@ Sudo 1.6 released.
|
||||
be set before sudoers is parsed.
|
||||
|
||||
375) Fixed the following Defaults options: set_home, fqdn, syslog, tty_tickets,
|
||||
ticket_dir.
|
||||
ticket_dir, insults.
|
||||
|
||||
376) When using select() in tgetpass(), do a separate select before
|
||||
each read to be sure we can timeout correctly.
|
||||
|
1
RUNSON
1
RUNSON
@@ -95,6 +95,7 @@ Linux 2.0.34 i586 egcs-2.91.57 1.5.6p2 Darrin Chandler none
|
||||
Linux 2.0.36 i586 gcc-2.7.2.3 1.5.7p4 Nathan Haney none
|
||||
Linux 2.0.34 alpha egcs-2.90.27 1.5.3 Karl Schlitt none
|
||||
Linux 2.0.33pl1 m68k gcc 2.7.2.3 1.5.6 James Troup none
|
||||
Linux 2.2.12 i386 pgcc-2.91.66 1.6.1 Todd Miller --with-pam
|
||||
Linux 2.2.6-15 ppc egcs-1.1.2 1.5.9p4 Barbara Schelkle none
|
||||
UnixWare 1.1.4 i386 gcc-2.7.2 1.4 Michael Hancock none
|
||||
Pyramid DC/OSx 1.1 bundled cc 1.4 Les Schuettpelz none
|
||||
|
Reference in New Issue
Block a user