Re: [libvirt] [PATCH] virExec: avoid undefined behavior

2010-12-10 Thread Eric Blake
On 12/10/2010 12:36 PM, Laine Stump wrote: > On 12/03/2010 05:03 PM, Eric Blake wrote: >> * src/util/util.c (__virExec): Don't use FD_ISSET on out-of-bounds fd. >> --- >> >> Noticed this one by inspection, while investigating >> https://bugzilla.redhat.com/show_bug.cgi?id=659855 >> >> Don't know if

Re: [libvirt] [PATCH] virExec: avoid undefined behavior

2010-12-10 Thread Laine Stump
On 12/03/2010 05:03 PM, Eric Blake wrote: * src/util/util.c (__virExec): Don't use FD_ISSET on out-of-bounds fd. --- Noticed this one by inspection, while investigating https://bugzilla.redhat.com/show_bug.cgi?id=659855 Don't know if it's the root cause of the crash in that bug, though. src/

[libvirt] [PATCH] virExec: avoid undefined behavior

2010-12-03 Thread Eric Blake
* src/util/util.c (__virExec): Don't use FD_ISSET on out-of-bounds fd. --- Noticed this one by inspection, while investigating https://bugzilla.redhat.com/show_bug.cgi?id=659855 Don't know if it's the root cause of the crash in that bug, though. src/util/util.c |3 +-- 1 files changed, 1 in