Bug 2631

Summary: kill interprets empty arg as PID 0
Product: Base System Reporter: Arne Henrik Juul <arnej>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: arnej
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Arne Henrik Juul 1997-02-01 00:10:02 UTC
	When /bin/kill is given an empty argument, this is converted
	to PID 0, with unpleasant effects on kill's process group.

Fix: A simple typo of !*argv where !**argv was clearly meant.
	There was another check of the same type, but that one
	was clearly unneccessary and I've just removed it.
How-To-Repeat: 
	/bin/kill -CONT ''
	Note that you should have got an error.
Comment 1 jlemon freebsd_committer 1997-08-21 22:57:01 UTC
State Changed
From-To: open->closed


Fixed in kill.c, rev 1.9, and 1.3.6.1.