DragonFly BSD
DragonFly submit List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: "Douwe Kiela" <virtus@xxxxxxxxxx>
Date: Thu, 22 Jul 2004 19:36:47 +0200

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]