/usr/bin/who performs no error checking [patch]

Douwe Kiela virtus at wanadoo.nl
Thu Jul 22 10:35:48 PDT 2004


Hello,

/usr/bin/who performs no error checking on the stat() call, while
it should error out when a utmp file can not be accessed. Here is
a simple patch:

http://virtus.ath.cx/dfbsd/who.c.diff

Regards,
Douwe





More information about the Submit mailing list