DragonFly commits List (threaded) for 2010-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: userland - dhclient - Fix possible infinite loop from unhandled poll(2) return
commit a05d48e6c7b12ad7abca8e3a3264413ac6f54003
Author: Samuel J. Greear <sjg@thesjg.com>
Date: Thu Sep 9 01:19:09 2010 +0000
userland - dhclient - Fix possible infinite loop from unhandled poll(2) return
* This -probably- doesn't happen, but exercise some defensive programming
here. This will prevent dhclient from running away and eating 100% cpu in the
event of an error on the socket. Plus, we let the user know something went
wrong.
Summary of changes:
sbin/dhclient/dhclient.c | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a05d48e6c7b12ad7abca8e3a3264413ac6f54003
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]