Integer underflow will cause "while (!local && --len >= 0)" to be always true
if no local entry was found in the loop.
I have also changed wtmp to utmp as we are looking for current users.
With this patch g-v-m no longer hangs in my Xvnc-based jail.
Port maintainer (gnome@FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
Over to maintainer
marcus 2007-08-26 00:39:38 UTC
FreeBSD ports repository
* Read from utmp rather than wtmp since we are looking for current users
* Fix an integer underflow which could result in an infinite loop on startup
Submitted by: Marcin Wisnicki <firstname.lastname@example.org>
Revision Changes Path
1.7 +1 -1 ports/sysutils/gnome-volume-manager/Makefile
1.4 +2 -2 ports/sysutils/gnome-volume-manager/files/patch-src_manager.c
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"