Re: [PATCH] util: fix potential segfault

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

 



On Wed, Apr 12, 2017 at 17:38:06 +0800, Wang King wrote:
> virBufferCurrentContent might be get a NULL string, and then without checking it,
> this can cause a segfault as strlen expects a string != NULL. Use virBufferCheckError
> to check error before calling strlen.
> ---

I've already pushed the previous version with some changes to the commit
message.

Attachment: signature.asc
Description: PGP signature

--
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]
  Powered by Linux