no passwd in /etc/group

egor duda deo@logos-m.ru
Wed Apr 18 07:36:00 GMT 2001


Hi!

  if passwd field in any line of /etc/group is empty, getgroups causes
SIGSEGV. fix attached.

egor.            mailto:deo@logos-m.ru icq 5165414 fidonet 2:5020/496.19
no-grp-passwd-crash.ChangeLog
no-grp-passwd-crash.diff

-------------- next part --------------
2001-04-18  Egor Duda  <deo@logos-m.ru>

	* grp.cc (getgroups): Avoid crash if passwd field if /etc/group is 
	empty.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-grp-passwd-crash.diff
Type: text/x-diff
Size: 559 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010418/947d631b/attachment.bin>


More information about the Cygwin-patches mailing list