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

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

 



Daniel Veillard <veillard@xxxxxxxxxx> 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.

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]