summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-10-02 11:32:15 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-10-02 11:32:15 +0200
commit8d1fae9e2bb03225c81ac1f0719408618d86eb52 (patch)
tree88d47e498af87139f75bc963319243281b5bf92a /debian
parent0f4f26bfee49b84fd41b46c1920cac6e5f6761c8 (diff)
downloadpython-apt-8d1fae9e2bb03225c81ac1f0719408618d86eb52.tar.gz
merge patch from Barry to fix #1030278
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 66da3ea0..894502e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,14 @@ python-apt (0.8.8) UNRELEASED; urgency=low
check the keys fingerprint before importing. This avoids
man-in-the-middle attacks (LP: #1016643)
+ [ Barry Warsaw ]
+ * python/string.cc, tests/test_lp1030278.py: Fix StrSizeToStr() so that
+ 1) it first checks for PyLong-ness so that in Python 3 on i386, it
+ will be able to convert larger numbers (via doubles rather than ints);
+ 2) before doing the conversions through the apt API, check to see if a
+ Python exception occurred, e.g. OverflowError, and return an error
+ condition in that case instead of masking it. (LP: #1030278)
+
[ James Hunt ]
* python/cache.cc: PkgCacheGetIsMultiArch(): Return calculated
value rather than a random one.