[net.news.b] Potentially dangerous News 2.10

lmcl@ukc.UUCP (10/16/83)

No matter what I tried I could not stop groups from being created whenever
I 'inews'ed an article to a new group! The source was compiled -DRESTRICT
and MANUAL and no AUTONEWNG? The only clue was I got the message "Unknown flag"!
 
 The error turned out to be the 'system("grep -s ' used to find
wether the group being posted to is in the active file. I had a battered old
grep in a bin that did not have the '-s' flag. The exit status it returned,
which was all that was being looked at (apparently that is all "grep -s .."
returns), was such that it believed the group already existed. Since it then
used code which is common to the group creation code to update it the group
was promptly created!

 CHECK OUT YOUR GREP!!!!

 I've switched the grep call locally to call "/bin/grep" which I know works.
-- 
	Lee McLoughlin ({ENGLAND}!ukc!root44!west44!lee)