Bug 1593857 - Bad reference count handling in ItclObjectCmd (segfaults)
Summary: Bad reference count handling in ItclObjectCmd (segfaults)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: itcl
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dmitrij S. Kryzhevich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-21 17:05 UTC by Patrick Monnerat
Modified: 2018-07-03 14:11 UTC (History)
3 users (show)

Fixed In Version: itcl-4.0.3-9.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-03 14:11:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fixes the double-free problem in ItclObjectCmd (719 bytes, patch)
2018-06-21 17:05 UTC, Patrick Monnerat
no flags Details | Diff

Description Patrick Monnerat 2018-06-21 17:05:16 UTC
Created attachment 1453566 [details]
Fixes the double-free problem in ItclObjectCmd

Description of problem:
The procedure ItclObjectCmd badly handles object reference counts, possibly causing a double free of the object.
This causes segfaults in my insight development version, probably among others.

The problem appears to already be fixed upstream.


Version-Release number of selected component (if applicable):
itcl-4.0.3-7.fc27.x86_64

How reproducible:
No easy recipe, sorry.


Actual results:
segfaults.

Expected results:
Proper functioning.

Additional info:
The attached patch fixes this problem.
Thanks for applying it.

Comment 1 Fedora Update System 2018-06-23 03:37:29 UTC
itcl-4.0.3-9.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2b2096028a

Comment 2 Fedora Update System 2018-06-23 18:56:01 UTC
itcl-4.0.3-9.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2b2096028a

Comment 3 Fedora Update System 2018-07-03 14:11:10 UTC
itcl-4.0.3-9.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.