]> granicus.if.org Git - sudo/log
sudo
24 years agoVisudo now checks for the existence of an editor and gives a sensible
Todd C. Miller [Sat, 1 Apr 2000 21:23:28 +0000 (21:23 +0000)]
Visudo now checks for the existence of an editor and gives a sensible
error if it does not exist.

The path to the editor for visudo is now a colon-separated list of
allowable editors.  If the user has $EDITOR set and it matches
one of the allowed editors that editor will be used.  If not,
the first editor in the list that actually exists is used.

24 years agoClear up confusion wrt sudo's return value.
Todd C. Miller [Sat, 1 Apr 2000 21:22:11 +0000 (21:22 +0000)]
Clear up confusion wrt sudo's return value.

24 years agoStrip sudo and visudo for bindist target
Todd C. Miller [Mon, 27 Mar 2000 17:08:46 +0000 (17:08 +0000)]
Strip sudo and visudo for bindist target

24 years agoUse @mansectsu@ and @mansectform@ in the man page bodies as well. SUDO_1_6_3
Todd C. Miller [Mon, 27 Mar 2000 03:26:24 +0000 (03:26 +0000)]
Use @mansectsu@ and @mansectform@ in the man page bodies as well.

24 years agoTypo: @sysconf@ -> @sysconfdir@
Todd C. Miller [Mon, 27 Mar 2000 03:07:35 +0000 (03:07 +0000)]
Typo: @sysconf@ -> @sysconfdir@

24 years ago'make dist' should not cause any files to be modified so remove
Todd C. Miller [Mon, 27 Mar 2000 02:57:52 +0000 (02:57 +0000)]
'make dist' should not cause any files to be modified so remove
its dependencies.

24 years agoWhoops, forgot to add release marker
Todd C. Miller [Mon, 27 Mar 2000 02:43:45 +0000 (02:43 +0000)]
Whoops, forgot to add release marker

24 years agoFinal change for 1.6.3 (or so I hope)
Todd C. Miller [Sun, 26 Mar 2000 16:57:31 +0000 (16:57 +0000)]
Final change for 1.6.3 (or so I hope)

24 years agoUse SYSV man sections since BSD systems will have nroff...
Todd C. Miller [Sun, 26 Mar 2000 16:57:04 +0000 (16:57 +0000)]
Use SYSV man sections since BSD systems will have nroff...

24 years agoWhen checking to see if the host/user matches in a defaults spec, check
Todd C. Miller [Fri, 24 Mar 2000 23:58:59 +0000 (23:58 +0000)]
When checking to see if the host/user matches in a defaults spec, check
against TRUE, not just non-zero since it might be -1.

24 years agoOSF/1 puts file formats in section 4, not 5.
Todd C. Miller [Fri, 24 Mar 2000 20:14:05 +0000 (20:14 +0000)]
OSF/1 puts file formats in section 4, not 5.

24 years agoMake login class support work on BSD/OS
Todd C. Miller [Fri, 24 Mar 2000 20:13:12 +0000 (20:13 +0000)]
Make login class support work on BSD/OS

24 years agoUpdate for 1.6.3
Todd C. Miller [Fri, 24 Mar 2000 01:24:48 +0000 (01:24 +0000)]
Update for 1.6.3

24 years agoIf there is no inet_addr but there *is* an __inet_addr that's ok since
Todd C. Miller [Fri, 24 Mar 2000 01:23:05 +0000 (01:23 +0000)]
If there is no inet_addr but there *is* an __inet_addr that's ok since
inet_addr is probably just a macro then.  The better thing to do would
be to look for the macro, but this is fine for now.

24 years agoDon't use shlicc for BSD/OS 4.x
Todd C. Miller [Fri, 24 Mar 2000 00:50:30 +0000 (00:50 +0000)]
Don't use shlicc for BSD/OS 4.x

24 years ago*.man lives in cwd, *.cat lives in $(srcdir), add a @mansrcdir@
Todd C. Miller [Fri, 24 Mar 2000 00:40:55 +0000 (00:40 +0000)]
*.man lives in cwd, *.cat lives in $(srcdir), add a @mansrcdir@
configure variable so we can deal with this.
Also, only remove *.man for 'distclean' not 'clean'.

24 years agoset_loginclass() should be static like the proto says
Todd C. Miller [Fri, 24 Mar 2000 00:16:41 +0000 (00:16 +0000)]
set_loginclass() should be static like the proto says

24 years agoAdd #ifdef __STDC__ around the rangematch function header to avoid
Todd C. Miller [Thu, 23 Mar 2000 19:14:03 +0000 (19:14 +0000)]
Add #ifdef __STDC__ around the rangematch function header to avoid
promotion of test to int, thus violating the prototype.  Gcc handles
this gracefully but more std ANSI compilers will complain.

24 years agoPull in newer fnmatch(3) that supports FNM_CASEFOLD
Todd C. Miller [Thu, 23 Mar 2000 15:11:56 +0000 (15:11 +0000)]
Pull in newer fnmatch(3) that supports FNM_CASEFOLD

24 years agoPull in newer fnmatch(3) that supports FNM_CASEFOLD
Todd C. Miller [Thu, 23 Mar 2000 15:11:50 +0000 (15:11 +0000)]
Pull in newer fnmatch(3) that supports FNM_CASEFOLD
Check for FNM_CASEFOLD in configure

24 years agoupdate for 1.6.3
Todd C. Miller [Thu, 23 Mar 2000 04:41:29 +0000 (04:41 +0000)]
update for 1.6.3

24 years agoFully qualified hosts w/ wildcards were not matching the FQHOST token type.
Todd C. Miller [Thu, 23 Mar 2000 04:38:22 +0000 (04:38 +0000)]
Fully qualified hosts w/ wildcards were not matching the FQHOST token type.
There's really no need for a separate token for fully-qualified vs.
unqualified anymore so FQHOST is now history and hostname_matches
now decides which hostname (short or long) to check based on whether
or not the pattern contains a '.'.

24 years agoFully qualified hosts w/ wildcards were not matching the FQHOST token type.
Todd C. Miller [Thu, 23 Mar 2000 04:38:20 +0000 (04:38 +0000)]
Fully qualified hosts w/ wildcards were not matching the FQHOST token type.
There's really no need for a separate token for fully-qualified vs.
unqualified anymore so FQHOST is now history and hostname_matches
now decides which hostname (short or long) to check based on whether
or not the pattern contains a '.'.

24 years agoFully qualified hosts w/ wildcards were not matching the FQHOST token type.
Todd C. Miller [Thu, 23 Mar 2000 04:38:20 +0000 (04:38 +0000)]
Fully qualified hosts w/ wildcards were not matching the FQHOST token type.
There's really no need for a separate token for fully-qualified vs.
unqualified anymore so FQHOST is now history and hostname_matches
now decides which hostname (short or long) to check based on whether
or not the pattern contains a '.'.

24 years agoAdd support for wildcards in the hostname.
Todd C. Miller [Thu, 23 Mar 2000 04:09:53 +0000 (04:09 +0000)]
Add support for wildcards in the hostname.

24 years agoAdd targets for *.man.in, using config.status to generate *.man from *.man.in
Todd C. Miller [Thu, 23 Mar 2000 03:50:54 +0000 (03:50 +0000)]
Add targets for *.man.in, using config.status to generate *.man from *.man.in

24 years agoDocument set_logname option and enbolden refs to sudo and visudo.
Todd C. Miller [Thu, 23 Mar 2000 03:20:57 +0000 (03:20 +0000)]
Document set_logname option and enbolden refs to sudo and visudo.

24 years agoAdd FreeBSD login.conf support (untested on BSD/OS) based on a patch from
Todd C. Miller [Thu, 23 Mar 2000 00:35:59 +0000 (00:35 +0000)]
Add FreeBSD login.conf support (untested on BSD/OS) based on a patch from
Michael D. Marchionna.
configure now does substitution on the man pages, allowing us to
fix up the paths and set the section correctly.  Based on an idea
from Michael D. Marchionna.

24 years agoBetter fix for handling HP-UX aging info.
Todd C. Miller [Thu, 23 Mar 2000 00:27:41 +0000 (00:27 +0000)]
Better fix for handling HP-UX aging info.

24 years agoAdd support for set_logname run-time default
Todd C. Miller [Thu, 23 Mar 2000 00:20:56 +0000 (00:20 +0000)]
Add support for set_logname run-time default

24 years agoconfigure does substitution on these to produce *.man
Todd C. Miller [Thu, 23 Mar 2000 00:17:30 +0000 (00:17 +0000)]
configure does substitution on these to produce *.man

24 years agoThese files now get generated from *.man.in at configure time.
Todd C. Miller [Thu, 23 Mar 2000 00:16:46 +0000 (00:16 +0000)]
These files now get generated from *.man.in at configure time.

24 years agoAdd set_logname option so users can turn off setting of LOGNAME/USER
Todd C. Miller [Wed, 22 Mar 2000 23:40:09 +0000 (23:40 +0000)]
Add set_logname option so users can turn off setting of LOGNAME/USER
environment variables.

24 years agokill register
Todd C. Miller [Wed, 22 Mar 2000 15:53:09 +0000 (15:53 +0000)]
kill register

24 years agoHP-UX adds extra info at the end for password aging so when comparing
Todd C. Miller [Mon, 13 Mar 2000 20:52:25 +0000 (20:52 +0000)]
HP-UX adds extra info at the end for password aging so when comparing
the result of crypt to pw_passwd we only compare the first len(epass)
bytes *unless* the user entered an empty string for a password.

24 years agoGet rid of grandchild hack, it was causing problems and there is really
Todd C. Miller [Mon, 13 Mar 2000 16:05:05 +0000 (16:05 +0000)]
Get rid of grandchild hack, it was causing problems and there is really
no need for it.  This fixes a bug where we spin eating up CPU when the
user runs a long-running process like a shell.

24 years agoUser can always specify a login class if he/she is already root.
Todd C. Miller [Tue, 7 Mar 2000 19:26:02 +0000 (19:26 +0000)]
User can always specify a login class if he/she is already root.

24 years agoFreeBSD login class (login.conf) support.
Todd C. Miller [Tue, 7 Mar 2000 04:29:46 +0000 (04:29 +0000)]
FreeBSD login class (login.conf) support.

24 years agoHAVE_SECUREWARE -> HAVE_GETPRPWNAM; fixes secureware support
Todd C. Miller [Mon, 6 Mar 2000 19:42:21 +0000 (19:42 +0000)]
HAVE_SECUREWARE -> HAVE_GETPRPWNAM; fixes secureware support

24 years agoTruncate unencrypted password to 8 chars if encrypted password is exactly
Todd C. Miller [Fri, 3 Mar 2000 23:04:50 +0000 (23:04 +0000)]
Truncate unencrypted password to 8 chars if encrypted password is exactly
13 characters (indicateing standard a DES password).  Many versions
of crypt() do this for you, but not all (like HP-UX's).

24 years agoMention that gcc on dynix may have problems
Todd C. Miller [Thu, 2 Mar 2000 02:01:16 +0000 (02:01 +0000)]
Mention that gcc on dynix may have problems

25 years agoLink visudo with NET_LIBS since we now call syslog via defaults.c
Todd C. Miller [Tue, 29 Feb 2000 22:46:32 +0000 (22:46 +0000)]
Link visudo with NET_LIBS since we now call syslog via defaults.c

25 years agoUse Argv[0] as the first arg to openlog() since visudo uses this too.
Todd C. Miller [Tue, 29 Feb 2000 22:41:40 +0000 (22:41 +0000)]
Use Argv[0] as the first arg to openlog() since visudo uses this too.

25 years agoStash coredumpsize resource limit and retsore it before the exec()
Todd C. Miller [Mon, 28 Feb 2000 23:58:17 +0000 (23:58 +0000)]
Stash coredumpsize resource limit and retsore it before the exec()
Otherwise the child ends up with a coredumpsize of 0.

25 years agodocument -S flag
Todd C. Miller [Sun, 27 Feb 2000 03:56:41 +0000 (03:56 +0000)]
document -S flag

25 years agofix usage string
Todd C. Miller [Sun, 27 Feb 2000 03:54:20 +0000 (03:54 +0000)]
fix usage string

25 years agoAdded -S flag (read passwd from stdin) and tgetpass_flags global
Todd C. Miller [Sun, 27 Feb 2000 03:49:07 +0000 (03:49 +0000)]
Added -S flag (read passwd from stdin) and tgetpass_flags global
that holds flags to be passed in to tgetpass().  Change echo_off
param to tgetpass() into a flags field.  There are currently 2
possible flags for tgetpass(): TGP_ECHO and TGP_STDIN.  In tgetpass(),
abstract the echo set/clear via macros and if (flags & TGP_ECHO)
but echo is not set on the terminal, but sure to set it.

25 years agoFixed a bug that caused an infinite loop when the password timeout was disabled.
Todd C. Miller [Sun, 27 Feb 2000 03:11:23 +0000 (03:11 +0000)]
Fixed a bug that caused an infinite loop when the password timeout was disabled.

25 years agoAdd rootpw, runaspw, and targetpw options.
Todd C. Miller [Fri, 18 Feb 2000 17:56:28 +0000 (17:56 +0000)]
Add rootpw, runaspw, and targetpw options.

25 years agoenveditor -> env_editor
Todd C. Miller [Fri, 18 Feb 2000 17:11:43 +0000 (17:11 +0000)]
enveditor -> env_editor

25 years agocrank versino to 1.6.3
Todd C. Miller [Wed, 16 Feb 2000 00:07:28 +0000 (00:07 +0000)]
crank versino to 1.6.3

25 years agoAdd 'editor' and 'enveditor' sudoers defaults and make visudo honor them.
Todd C. Miller [Wed, 16 Feb 2000 00:03:44 +0000 (00:03 +0000)]
Add 'editor' and 'enveditor' sudoers defaults and make visudo honor them.
This means that visudo will now parse the sudoers file *before* it is
edited so a bogus sudoers file will cause a warning to go to stderr.
Also, visudo checks the variables once--it does not check them after
each editor run since that could be confusing.

25 years ago1.6.2 -> 1.6.2p1
Todd C. Miller [Tue, 15 Feb 2000 23:49:48 +0000 (23:49 +0000)]
1.6.2 -> 1.6.2p1

25 years agoMove user_is_exempt prototype into sudo.h
Todd C. Miller [Tue, 15 Feb 2000 23:36:04 +0000 (23:36 +0000)]
Move user_is_exempt prototype into sudo.h

25 years agoFix thinko, some && should have been || in the last commit
Todd C. Miller [Sun, 13 Feb 2000 18:38:14 +0000 (18:38 +0000)]
Fix thinko, some && should have been || in the last commit

25 years agoDon't initialized Makefile variables to be NULL since the user may
Todd C. Miller [Sun, 13 Feb 2000 18:28:04 +0000 (18:28 +0000)]
Don't initialized Makefile variables to be NULL since the user may
want to import variables from their environment.

25 years agotypo
Todd C. Miller [Fri, 4 Feb 2000 02:09:02 +0000 (02:09 +0000)]
typo

25 years agofix a yacc (skeleton.c) warning
Todd C. Miller [Fri, 28 Jan 2000 01:41:33 +0000 (01:41 +0000)]
fix a yacc (skeleton.c) warning

25 years agoMake pam work on HP-UX 11.0;jaearick@colby.edu
Todd C. Miller [Thu, 27 Jan 2000 20:01:37 +0000 (20:01 +0000)]
Make pam work on HP-UX 11.0;jaearick@colby.edu

25 years agorecent changes; prepare for 1.6.2p1
Todd C. Miller [Thu, 27 Jan 2000 20:01:35 +0000 (20:01 +0000)]
recent changes; prepare for 1.6.2p1

25 years agoDon't apply SECURE_PATH if user is example; jmknoble@pobox.com
Todd C. Miller [Thu, 27 Jan 2000 04:31:58 +0000 (04:31 +0000)]
Don't apply SECURE_PATH if user is example; jmknoble@pobox.com

25 years agoRegen with yacc that has a memory leak plugged.
Todd C. Miller [Wed, 26 Jan 2000 23:14:18 +0000 (23:14 +0000)]
Regen with yacc that has a memory leak plugged.

25 years agoExpanded docs on sudoers 'defaults' options based on INSTALL file info.
Todd C. Miller [Wed, 26 Jan 2000 21:21:28 +0000 (21:21 +0000)]
Expanded docs on sudoers 'defaults' options based on INSTALL file info.

25 years agoFix some while lies
Todd C. Miller [Wed, 26 Jan 2000 21:21:00 +0000 (21:21 +0000)]
Fix some while lies

25 years agoWhen making a bindist, link FAQ to TROUBLESHOOTING instead of copying.
Todd C. Miller [Mon, 24 Jan 2000 15:48:46 +0000 (15:48 +0000)]
When making a bindist, link FAQ to TROUBLESHOOTING instead of copying.

25 years agoAdd netgroup caveat SUDO_1_6_2
Todd C. Miller [Mon, 24 Jan 2000 03:57:49 +0000 (03:57 +0000)]
Add netgroup caveat

25 years agoLast minute updates
Todd C. Miller [Mon, 24 Jan 2000 03:42:14 +0000 (03:42 +0000)]
Last minute updates

25 years agoPAM entry
Todd C. Miller [Mon, 24 Jan 2000 03:26:22 +0000 (03:26 +0000)]
PAM entry

25 years agocorrect a comment
Todd C. Miller [Mon, 24 Jan 2000 03:23:40 +0000 (03:23 +0000)]
correct a comment

25 years agoupdate for 1.6.2
Todd C. Miller [Mon, 24 Jan 2000 03:03:04 +0000 (03:03 +0000)]
update for 1.6.2

25 years agoBetter detection of PAM errors and fix custom prompts with PAM.
Todd C. Miller [Mon, 24 Jan 2000 02:59:12 +0000 (02:59 +0000)]
Better detection of PAM errors and fix custom prompts with PAM.
Based on patches from "Cloyce D. Spradling" <cloyce@headgear.org>

25 years agoCast ULONG_MAX to unsigned long long when comparing to an unsigned long long
Todd C. Miller [Thu, 20 Jan 2000 16:15:41 +0000 (16:15 +0000)]
Cast ULONG_MAX to unsigned long long when comparing to an unsigned long long
value.

25 years agoFix sudoers locking in visudo. We now lock the sudoers file itself, not
Todd C. Miller [Wed, 19 Jan 2000 19:07:24 +0000 (19:07 +0000)]
Fix sudoers locking in visudo.  We now lock the sudoers file itself, not
the temp file (since locking the temp file can foul up editors).  The
previous locking scheme didn't work because the fd was closed too early.

25 years agoDon't need test for ftruncate() any more.
Todd C. Miller [Wed, 19 Jan 2000 18:37:51 +0000 (18:37 +0000)]
Don't need test for ftruncate() any more.

25 years agoAdd a test for the -Aa flag w/ HP-UX's cc. Fixes compilation with the
Todd C. Miller [Wed, 19 Jan 2000 02:23:48 +0000 (02:23 +0000)]
Add a test for the -Aa flag w/ HP-UX's cc.  Fixes compilation with the
unbundled HP-UX cc.

25 years ago"a a" -> "a"; Aaron Campbell <aaron@cs.dal.ca>
Todd C. Miller [Tue, 18 Jan 2000 22:00:40 +0000 (22:00 +0000)]
"a a" -> "a"; Aaron Campbell <aaron@cs.dal.ca>

25 years agoupdate copyright year on changed files
Todd C. Miller [Mon, 17 Jan 2000 23:46:26 +0000 (23:46 +0000)]
update copyright year on changed files

25 years agoupdates
Todd C. Miller [Mon, 17 Jan 2000 23:45:37 +0000 (23:45 +0000)]
updates

25 years agoaix fix
Todd C. Miller [Mon, 17 Jan 2000 23:45:28 +0000 (23:45 +0000)]
aix fix

25 years agoCrank version to 1.6.2
Todd C. Miller [Mon, 17 Jan 2000 23:42:19 +0000 (23:42 +0000)]
Crank version to 1.6.2

25 years agoCrank version to 1.6.2
Todd C. Miller [Mon, 17 Jan 2000 23:11:26 +0000 (23:11 +0000)]
Crank version to 1.6.2

25 years agoWhen using rlimit check for RLIM_INFINITY
Todd C. Miller [Mon, 17 Jan 2000 22:46:32 +0000 (22:46 +0000)]
When using rlimit check for RLIM_INFINITY
When computing the value of maxfd, use min(getdtablesize(), RLIMIT_NOFILE)

25 years agorecent changes
Todd C. Miller [Mon, 17 Jan 2000 17:32:51 +0000 (17:32 +0000)]
recent changes

25 years agoCrank version to 1.6.2
Todd C. Miller [Mon, 17 Jan 2000 17:28:41 +0000 (17:28 +0000)]
Crank version to 1.6.2

25 years agoAdd 'shell_noargs' runtime option back in. We have to defer checking
Todd C. Miller [Mon, 17 Jan 2000 17:25:10 +0000 (17:25 +0000)]
Add 'shell_noargs' runtime option back in.  We have to defer checking
until after the sudoers file has been parsed but since there are now
other options that operate that way this one can too.  Based on a patch
from bguillory@email.com.

25 years agoAdd "listpw" and "verifypw" options.
Todd C. Miller [Mon, 17 Jan 2000 04:05:18 +0000 (04:05 +0000)]
Add "listpw" and "verifypw" options.

25 years agoo Fix some typos/omissions
Todd C. Miller [Mon, 17 Jan 2000 03:57:26 +0000 (03:57 +0000)]
o Fix some typos/omissions
o Add section on verifypw and listpw
o Define how NOPASSWD interacts with the -v and -l flags

25 years agoFor HP-UX cc, add -Aa to CPPFLAGS.
Todd C. Miller [Fri, 14 Jan 2000 17:39:00 +0000 (17:39 +0000)]
For HP-UX cc, add -Aa to CPPFLAGS.
For HP-UX always add -D_HPUX_SOURCE to CPPFLAGS.

25 years agoIn struct sudo_defs_types, move the union to the end and don't initialize
Todd C. Miller [Fri, 14 Jan 2000 17:29:35 +0000 (17:29 +0000)]
In struct sudo_defs_types, move the union to the end and don't initialize
the union member since that only works with an ANSI compiler.  We set
the value of the union by hand in init_defaults() anyway.  This allows
sudo to compile on a K&R compiler again.

25 years agonetgr_matches needs to check shost as well as host since they may be different.
Todd C. Miller [Tue, 11 Jan 2000 18:20:41 +0000 (18:20 +0000)]
netgr_matches needs to check shost as well as host since they may be different.

25 years agoEnd on \r as well as \n
Todd C. Miller [Tue, 11 Jan 2000 18:17:50 +0000 (18:17 +0000)]
End on \r as well as \n

25 years agoUpdate statbuf.st_mode based on SUDOERS_MODE when we are chaning from
Todd C. Miller [Mon, 3 Jan 2000 04:53:35 +0000 (04:53 +0000)]
Update statbuf.st_mode based on SUDOERS_MODE when we are chaning from
0400 to whatever SUDOERS_MODE is (converting from the old sudoers mode).
Assumes that SUDOERS_MODE is less restrictive than 0400 which should
always be the case.

25 years agoMake treatment of -l and -v sane wrt NOPASSWD flags. Now allow -l w/o a passwd
Todd C. Miller [Mon, 3 Jan 2000 04:43:33 +0000 (04:43 +0000)]
Make treatment of -l and -v sane wrt NOPASSWD flags.  Now allow -l w/o a passwd
if there is *any* entry for the user on the host with a NOPASSWD flag.
For -v, only allow w/o a passwd if *all* entries for the user on the host
w/ the specified runas user have the NOPASSWD flag set.

25 years agoadd check target
Todd C. Miller [Mon, 3 Jan 2000 04:26:17 +0000 (04:26 +0000)]
add check target

25 years agoTreat EOF at whatnow prompt like 'x' instead of looping.
Todd C. Miller [Thu, 16 Dec 1999 18:02:14 +0000 (18:02 +0000)]
Treat EOF at whatnow prompt like 'x' instead of looping.

25 years agorecent changes SUDO_1_6_1
Todd C. Miller [Fri, 10 Dec 1999 05:09:47 +0000 (05:09 +0000)]
recent changes

25 years agoAdd check for initgroups() since old SYSV lacks this.
Todd C. Miller [Thu, 9 Dec 1999 04:04:47 +0000 (04:04 +0000)]
Add check for initgroups() since old SYSV lacks this.

25 years agoo Kill HAVE_FNMATCH_H
Todd C. Miller [Thu, 9 Dec 1999 03:54:57 +0000 (03:54 +0000)]
o Kill HAVE_FNMATCH_H
o Only define HAVE_FNMATCH if <fnmatch.h> exists.

25 years agoDon't allow insults to be enabled if the insults[] array is empty.
Todd C. Miller [Mon, 6 Dec 1999 06:47:19 +0000 (06:47 +0000)]
Don't allow insults to be enabled if the insults[] array is empty.
Otherwise there would be division by zero.

25 years agoDon't allow insults to be enabled if the insults[] array is empty.
Todd C. Miller [Mon, 6 Dec 1999 06:47:13 +0000 (06:47 +0000)]
Don't allow insults to be enabled if the insults[] array is empty.
Otherwise there would be division by zero.