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

Re: [Libvir] [PATCH] Don't access line[-1] for a zero-length "line" from fgets.



Daniel Veillard <veillard redhat com> wrote:
> On Mon, Jan 21, 2008 at 01:37:25PM +0100, Jim Meyering wrote:
>> In reviewing the StorageAPI patches, I saw that some bogus input could
>> cause a segfault.  There's similar code in libvirt.c, so this fixes both.
>> Note that virsh.c does this, too, but it already has the required guard.
>
>   Oops ! +1

Applied.  BTW, I noticed I had not committed some ChangeLog file
entries last week (though the content _is_ in the cvs commit logs),
so I added those at the same time.


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