git: userland - dhclient - Fix possible infinite loop from unhan

看板DFBSD_commit作者時間15年前 (2010/09/09 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CY3aL37 (DFBSD_commit)