Bug 634547 - smstools overlapped buffers bug in Fedora 13 x86_64 smstools
Summary: smstools overlapped buffers bug in Fedora 13 x86_64 smstools
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: smstools
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Marek Mahut
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 671167
TreeView+ depends on / blocked
 
Reported: 2010-09-16 10:19 UTC by Michael Kearey
Modified: 2011-02-07 17:53 UTC (History)
3 users (show)

Fixed In Version: smstools-3.1.14-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-07 17:53:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Kearey 2010-09-16 10:19:15 UTC
Description of problem:
Under x86_64 Fedora and intel processors, a known bug happens using smstools ..

NOTE that this problem affects 32 bit in slightly different way..

Version-Release number of selected component (if applicable):
smstools-3.1.5-4.fc13.x86_64.rpm

How reproducible:
100%

Steps to Reproduce:
1. Install smstools
2. Plug in a GSM modem, configure smstools to use it
3. Start the daemon service smsd start
  
Actual results:
In /var/log/smsd/smsd.log:

2010-06-23 17:38:37,6, GSM1: Checking if modem is ready
2010-06-23 17:38:37,7, GSM1: -> AT
2010-06-23 17:38:37,7, GSM1: Command is sent, waiting for the answer
2010-06-23 17:38:38,7, GSM1: <- O
2010-06-23 17:38:38,7, GSM1: -> .
2010-06-23 17:38:38,7, GSM1: Command is sent, waiting for the answer
2010-06-23 17:38:43,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-06-23 17:38:43,7, GSM1: <-
2010-06-23 17:38:43,7, GSM1: -> AT
2010-06-23 17:38:43,7, GSM1: Command is sent, waiting for the answer
2010-06-23 17:38:43,7, GSM1: <- O
2010-06-23 17:38:43,7, GSM1: -> .
2010-06-23 17:38:43,7, GSM1: Command is sent, waiting for the answer
2010-06-23 17:38:48,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.

Expected results:
Normal log messages and the device can send receive 

Additional info:


http://smstools3.kekekasvi.com/index.php?p=history3

Quote   17.06.2010    3.1.9  release info :

"Bug fixes:

   8.

      When manipulating strings, the coding style assumed that strcpy() and some other functions start copying from the begin of a buffer. That's how those have worked for years, but it's against what the manual of those functions says about overlapped buffers. With 64bit Ubuntu 10.04 running on Intel processor this caused serious failures. The code is reviewed and fixed. "


I guess the best way forward might be to update smstools to the later version. I have verified that the current available from http://smstools3.kekekasvi.com/index.php?p=packages   "Current version is 3.1.12."  works perfectly

Comment 1 Patrick C. F. Ernzer 2011-01-21 11:11:30 UTC
smstools-3.1.14-1.fc15 has been built in rawhide
http://koji.fedoraproject.org/koji/taskinfo?taskID=2734570

Comment 2 Fedora Update System 2011-01-21 16:04:43 UTC
smstools-3.1.14-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/smstools-3.1.14-1.el6

Comment 3 Fedora Update System 2011-01-23 10:14:21 UTC
smstools-3.1.14-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/smstools-3.1.14-1.el6

Comment 4 Fedora Update System 2011-02-07 17:53:26 UTC
smstools-3.1.14-1.el6 has been pushed to the Fedora EPEL 6 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.