summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-12 21:22:58 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-12 21:22:58 +0200
commitb0abeea43f6e51c452af68d8ec9bf3d0f701d772 (patch)
tree050238e8a08c7abac81fe130145494a0be16cd02 /debian
parent5505821c0d13ff66e5943b610705f1c9b202d7fa (diff)
downloadpython-apt-b0abeea43f6e51c452af68d8ec9bf3d0f701d772.tar.gz
python/acquire.cc: Fix segmentation faults, introduce PyAcquireObject.
Make AcquireItem objects raise ValueError instead of segfaulting when the Acquire() object is shut down or the main object (e.g. AcquireFile) is deallocated. This is implemented by using a vector of the AcquireItem objects, and setting AcquireItem->Object = NULL, when the memory 'Object' previously pointed to is going to be deleted.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 1f43cc8c..304237c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,8 @@ python-apt (0.7.92) UNRELEASED; urgency=low
CompTypeDeb, because we don't return integer values for CompType
anymore.
* Introduce apt_pkg.Hashes class.
+ * Make AcquireItem objects raise ValueError instead of segfaulting when the Acquire()
+ object is shut down or the main object (e.g. AcquireFile) is deallocated.
[ Sebastian Heinlein ]
* apt/progress.py: Extract the package name from the status message
@@ -46,7 +48,7 @@ python-apt (0.7.92) UNRELEASED; urgency=low
* python/progress.cc:
- low level code for update_status_full and pulse_items()
- -- Julian Andres Klode <jak@debian.org> Sun, 12 Jul 2009 18:51:57 +0200
+ -- Julian Andres Klode <jak@debian.org> Sun, 12 Jul 2009 21:19:40 +0200
python-apt (0.7.91) experimental; urgency=low