Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191303 - dev-python/python-gammu crashes while reading GSM_Firmware version
Summary: dev-python/python-gammu crashes while reading GSM_Firmware version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Mobile Phone Developers (INACTIVE)
URL:
Whiteboard:
Keywords:
Depends on: 191191
Blocks:
  Show dependency tree
 
Reported: 2007-09-04 21:32 UTC by Tupone Alfredo
Modified: 2007-09-06 10:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
python-gammu-0.21-fixups.patch (python-gammu-0.21-fixups.patch,348 bytes, patch)
2007-09-04 21:33 UTC, Tupone Alfredo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tupone Alfredo gentoo-dev 2007-09-04 21:32:51 UTC
running wammu and trying to connect to the phone, it crashes. The problem is in this ebuild, that is overflowing a string.

Reproducible: Always




I'm providing a patch that enlarge the buffer, so it is no more crashing for this with my phone
Comment 1 Tupone Alfredo gentoo-dev 2007-09-04 21:33:53 UTC
Created attachment 130042 [details, diff]
python-gammu-0.21-fixups.patch
Comment 2 Tupone Alfredo gentoo-dev 2007-09-05 07:59:46 UTC
The fix done here is the same as one of the fix done on bug #191191 that affect only the gammu command line executable. But the other  fix on the bug #191191 need to be done as the gammu library is used by this ebuild
Comment 3 Michal Čihař 2007-09-05 22:35:56 UTC
Better patch for this issue is now in upstream svn:

http://viewsvn.cihar.com/viewvc.cgi/python-gammu/trunk/gammu.c?r1=491&r2=490
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2007-09-06 10:15:48 UTC
Fixed in python-gammu-0.22.ebuild by using the upstream patch. Thanks!