Bug 1073079 - Crash when fromxml_str() receive file-type object
Summary: Crash when fromxml_str() receive file-type object
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libcomps
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jindrich Luza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-05 17:40 UTC by Pavol Babinčák
Modified: 2014-03-06 12:25 UTC (History)
1 user (show)

Fixed In Version: libcomps-0.1.6-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-06 12:15:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Minimal reproducer (95 bytes, text/x-python)
2014-03-05 17:40 UTC, Pavol Babinčák
no flags Details

Description Pavol Babinčák 2014-03-05 17:40:15 UTC
Created attachment 871065 [details]
Minimal reproducer

Description of problem:
When I use file-type object in fromxml_str python function, python interpreter crash with segfault.

Version-Release number of selected component (if applicable):
libcomps-0.1.6-3.fc21.x86_64
python-libcomps-0.1.6-3.fc21.x86_64
python-2.7.5-11.fc20.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run attached python file using python interpreter

Actual results:
Segmentation fault

Expected results:
Raise exception and definitely not crash.

Comment 1 Jindrich Luza 2014-03-06 12:15:02 UTC
fixed in libcomps-0.1.6-5


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