[xmlrpc-c] Coverity 1024180, 1024205, 1024301, 1024847, 1024848, 1024377, 1024378, 1024379, 1024380, 1024381, 1024584, 1024495, 1214208 fixes.

This commit is contained in:
Andrey Volk
2025-01-30 23:10:39 +03:00
parent 5e82e4f305
commit bc2801e340
6 changed files with 27 additions and 14 deletions

View File

@@ -170,7 +170,7 @@ decodeMultibyte(xmlrpc_env * const envP,
Return the character in UTF-16 format as *wcP.
-----------------------------------------------------------------------------*/
wchar_t wc;
wchar_t wc = 0;
assert(utf8_seq[0] & 0x80); /* High bit set: this is multibyte seq */