[Patches] [ python-Patches-728656 ] Fix for 728511: tarfile.open causes segfault
SourceForge.net
noreply@sourceforge.net
Tue, 29 Apr 2003 07:55:04 -0700
Patches item #728656, was opened at 2003-04-27 23:26
Message generated for change (Settings changed) made by niemeyer
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=728656&group_id=5470
Category: Modules
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: logistix (logistix)
Assigned to: Gustavo Niemeyer (niemeyer)
Summary: Fix for 728511: tarfile.open causes segfault
Initial Comment:
bzip2module.c tries to decref an null pointer. Changed
to a Py_XDECREF()
----------------------------------------------------------------------
>Comment By: Gustavo Niemeyer (niemeyer)
Date: 2003-04-29 14:55
Message:
Logged In: YES
user_id=7887
Sure!
I'm surprised for not being hit by this problem. :-)
Applied as:
Modules/bz2module.c: 1.18
Lib/test/test_bz2.py: 1.13
(I've included a testcase)
Thanks for the patch!
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-04-29 11:49
Message:
Logged In: YES
user_id=21627
Gustavo, can you take a look? If you accept the patch,
please close the bug report as well.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=728656&group_id=5470