]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Avoid crash if NULL is passed for filename/funcname in logging
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 2 Aug 2013 11:15:57 +0000 (12:15 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 2 Aug 2013 14:32:26 +0000 (15:32 +0100)
commitb4ca2999020ab4adf7a73ccbff1de2b40a097874
tree2d52474b28082869cff39524fda550e30eca435c
parentcb3868f701bda3e3f71f9161b4a7f19106600fa6
Avoid crash if NULL is passed for filename/funcname in logging

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 safe, since there
have been bugs triggering this.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/virlog.c