From: Todd C. Miller Date: Mon, 6 Dec 1999 06:47:13 +0000 (+0000) Subject: Don't allow insults to be enabled if the insults[] array is empty. X-Git-Tag: SUDO_1_6_1~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=baf50ee07a18a97d6edba9c5014a2ff46016a766;p=sudo Don't allow insults to be enabled if the insults[] array is empty. Otherwise there would be division by zero. --- diff --git a/CHANGES b/CHANGES index 5dd835cb5..cb8868bc4 100644 --- a/CHANGES +++ b/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. diff --git a/RUNSON b/RUNSON index 574512049..37fa38e29 100644 --- a/RUNSON +++ b/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