Bug in sms

Gu, Yang yang.gu at intel.com
Wed Sep 16 02:49:39 PDT 2009


Hi Dennis,
I am just using my cell phone (Sony Ericsson T618, GSM). Not sure what's your meaning by "open hardware". oFono is gradually adding support for some modems, such as HTC G1, Ericsson MBM, TI Calypso, etc.
To my understanding, different modems have different implementation, in which some follows the spec, while others not. I think oFono's target is to support modems as many as possible, if they follow the spec well. For this problem, I don't know if my modem is a good one to follow spec. However, oFono needs more error handling to avoid segment fault.


Regards,
-Yang

From: ofono-bounces at ofono.org [mailto:ofono-bounces at ofono.org] On Behalf Of Dennis.Yxun
Sent: Wednesday, September 16, 2009 5:22 PM
To: ofono at ofono.org
Subject: Re: Bug in sms

HI Yang:
    Mind I ask you a question? maybe off-topic.
Which hardware(the GSM modem?) are you testing?
Is that possible for a developer to get an open hardware,
So they can put their hands in
   Thanks.

Dennis
On Wed, Sep 16, 2009 at 8:22 AM, Gu, Yang <yang.gu<http://yang.gu>@intel.com<http://intel.com>> wrote:
Hi,
       Today I tried oFono with my cell phone, but it crashed when starting up. The problem happens in function at_cmgl_notify() of file drivers/atmodem/sms.c. In my case, strlen(hexpdu) == 338, but the buffer "pdu" has maximum size of 164. So after decode_hex_own_buf(), some memory was written unexpectedly. Call for a fix, please.


Regards,
-Yang


_______________________________________________
ofono mailing list
ofono at ofono.org<mailto:ofono at ofono.org>
http://lists.ofono.org/listinfo/ofono

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ofono.org/pipermail/ofono/attachments/20090916/44dec303/attachment.html>


More information about the ofono mailing list