]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: snapshot: check return value of virDomainSnapshotObjListNum
authorJán Tomko <jtomko@redhat.com>
Wed, 28 Nov 2012 13:34:51 +0000 (14:34 +0100)
committerOsier Yang <jyang@redhat.com>
Wed, 28 Nov 2012 16:00:39 +0000 (00:00 +0800)
commit0361917619963d4bc6e9c8215368beaab9db2c5f
tree38b2705ef05bc4fa8a3e4969ea09e263b0f23bb0
parent34e5791332850657b6e9e7f92190c08d458a9c37
conf: snapshot: check return value of virDomainSnapshotObjListNum

If it's negative, this might result in a request to allocate lots of
memory.
src/conf/snapshot_conf.c