]> git.ipfire.org Git - thirdparty/hostap.git/commit
libxml2: Check for xmlDocDumpFormatMemory() error case
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 16 Mar 2016 19:49:28 +0000 (21:49 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 16 Mar 2016 19:49:28 +0000 (21:49 +0200)
commit64ce5905f85fc9db2ff66e1d2e0e0355092ced02
tree15d2ec3ac1d2974be4b5e16ab52b3fd88d4c576a
parent8b827c342f07b01622079734b24f8bf65497a1d6
libxml2: Check for xmlDocDumpFormatMemory() error case

Since this function needs to allocate memory, it might fail. Check that
the returned memory pointer is not NULL before trying to parse the
output.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/utils/xml_libxml2.c