[RTL]
authorThomas Faber <thomas.faber@reactos.org>
Mon, 28 Mar 2016 11:43:16 +0000 (11:43 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Mon, 28 Mar 2016 11:43:16 +0000 (11:43 +0000)
- Don't print an uninitialized variable in parse_assembly_identity_elem. Spotted by Mark Jansen.
CORE-10927 #resolve

svn path=/trunk/; revision=71062

reactos/lib/rtl/actctx.c

index 8d058e9..acd02a1 100644 (file)
@@ -1407,8 +1407,8 @@ static BOOL parse_assembly_identity_elem(xmlbuf_t* xmlbuf, ACTIVATION_CONTEXT* a
         }
         else if (xmlstr_cmp(&attr_name, languageW))
         {
-            DPRINT1("Unsupported yet language attribute (%S)\n",
-                 ai->language);
+            DPRINT1("Unsupported yet language attribute (%.*S)\n",
+                    attr_value.len, attr_value.ptr);
             if (!(ai->language = xmlstrdupW(&attr_value))) return FALSE;
         }
         else