]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix double-free in virJSONParserHandleStartMap on OOM
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 25 Sep 2013 14:16:24 +0000 (15:16 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 25 Sep 2013 17:12:09 +0000 (18:12 +0100)
commitd3f8fec456c814ad01eb05f471988e0604e03fed
tree2cd19da2cbd465a93540ca1e78b5035dce6429b5
parent6bf307865754d5324adb52a6c2bcfc0e53f07ffc
Fix double-free in virJSONParserHandleStartMap on OOM

If OOM occurs in virJSONParserHandleStartMap it will free
a variable that is owned by another object. This leads to
a later double-free.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/virjson.c