diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-12 21:22:58 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-12 21:22:58 +0200 |
| commit | b0abeea43f6e51c452af68d8ec9bf3d0f701d772 (patch) | |
| tree | 050238e8a08c7abac81fe130145494a0be16cd02 /debian | |
| parent | 5505821c0d13ff66e5943b610705f1c9b202d7fa (diff) | |
| download | python-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/changelog | 4 |
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 |
