From 6e25c34f2f4ef0a7f3151fca6768699585f2eeeb Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 8 Mar 2014 09:43:55 +0100 Subject: [PATCH] msxml3: Mirror the NULL checking logic (Coverity). --- dlls/msxml3/mxwriter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msxml3/mxwriter.c b/dlls/msxml3/mxwriter.c index 01e21a7cc02..6c2eeb857e0 100644 --- a/dlls/msxml3/mxwriter.c +++ b/dlls/msxml3/mxwriter.c @@ -1202,7 +1202,7 @@ static void mxwriter_write_starttag(mxwriter *writer, const WCHAR *qname, int le write_node_indent(writer); write_output_buffer(writer->buffer, ltW, 1); - write_output_buffer(writer->buffer, qname, len); + write_output_buffer(writer->buffer, qname ? qname : emptyW, qname ? len : 0); writer_inc_indent(writer); } -- 2.11.4.GIT