[libvirt] [PATCH] Avoid crash if NULL is passed for filename/funcname in logging
Jiri Denemark
jdenemar at redhat.com
Fri Aug 2 11:44:23 UTC 2013
On Fri, Aug 02, 2013 at 12:17:19 +0100, Daniel 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
> 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(-)
ACK
Jirka
More information about the libvir-list
mailing list