Bug 458902 - transmission package includes a program which segfaults
Summary: transmission package includes a program which segfaults
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: transmission
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Denis Leroy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-13 02:28 UTC by Michal Jaegermann
Modified: 2008-09-25 00:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-25 00:20:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2008-08-13 02:28:55 UTC
Description of problem:

This package has benc2php.  If you will try to run 'benc2php -h'
or 'benc2php --help' then a response is:

Invalid metadata
Segmentation fault (core dumped)

Actually it looks like that passing as an argument mostly anything,
be that a single '-', or some letter of alphabet, has the same effect
as above.  Without any arguments benc2php prints:

Convert bencoded text to serialized php.
Usage: benc2php bencoded-text

which is slightly better but not a good reason for segfaulting
in other circumstances.  This was checked on an x86_64 machine and only
there.

Version-Release number of selected component (if applicable):
transmission-1.22-1.fc9

How reproducible:
always

Comment 1 Kevin 2008-08-17 01:03:43 UTC
Your synopsis of the problem is accurate. Basically anything that it can not parse throws a segfault error.

No -h tag exists within the code, therefore it treats it as parseable input and seg faults.

I've lowered the priority and severity of this bug, as the application does work - however it should be modified to throw an actual error and not seg fault when inappropriate input is entered.

Comment 2 Denis Leroy 2008-08-24 12:21:34 UTC
Looks like benc2php is gone in version 1.33. Expect an update soon.

Comment 3 Fedora Update System 2008-08-24 14:08:08 UTC
transmission-1.33-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/transmission-1.33-1.fc9

Comment 4 Fedora Update System 2008-09-10 06:49:24 UTC
transmission-1.33-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update transmission'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7546

Comment 5 Fedora Update System 2008-09-25 00:20:54 UTC
transmission-1.33-1.fc9 has been pushed to the Fedora 9 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.