summaryrefslogtreecommitdiff
path: root/typewrappers.h
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2013-01-23 12:14:57 +0100
committerJiri Denemark <jdenemar@redhat.com>2013-01-24 21:24:30 +0100
commita2e333640d28df8d31d8ae03d13e5dbf11380381 (patch)
tree423a53c485e3e84b7f086200087321668396c03e /typewrappers.h
parentd9a4428e4485719d2945d0e6b35e9efc412d2a2e (diff)
downloadlibvirt-python-a2e333640d28df8d31d8ae03d13e5dbf11380381.tar.gz
python: Fix bindings for virDomainSnapshotGet{Domain,Connect}v1.0.2-rc2v1.0.2CVE-2013-0170
https://bugzilla.redhat.com/show_bug.cgi?id=895882 virDomainSnapshot.getDomain() and virDomainSnapshot.getConnect() wrappers around virDomainSnapshotGet{Domain,Connect} were not supposed to be ever implemented. The class should contain proper domain() and connect() accessors that fetch python objects stored internally within the class. While domain() was already provided, connect() was missing. This patch adds connect() method to virDomainSnapshot class and reimplements getDomain() and getConnect() methods as aliases to domain() and connect() for backward compatibility.
Diffstat (limited to 'typewrappers.h')
0 files changed, 0 insertions, 0 deletions