[libvirt] [PATCH] Avoid crash if NULL is passed for filename/funcname in logging
Eric Blake
eblake at redhat.com
Fri Aug 2 13:13:04 UTC 2013
On 08/02/2013 05:17 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> The journald code would crash if a NULL was passed for the
> filename / funcname in the logging code. This shouldn't
> happen in general, but it is better to be save, since there
s/save/safe/
> have been bugs triggering this.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/util/virlog.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130802/38a0877e/attachment-0001.sig>
More information about the libvir-list
mailing list