buggnokii - Bugs: bug #20958, SIGSEGV after sending SMS

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #20958: SIGSEGV after sending SMS

Submitted by:  Baurzhan Ismagulov <ibr>
Submitted on:  Sun 02 Sep 2007 05:48:53 PM UTC  
 
Category: libgnokiiSeverity: 3 - Normal
Item Group: crashStatus: Duplicate
Privacy: PublicAssigned to: Pawel Kot <pkot>
Open/Closed: Closed

Sun 02 Sep 2007 08:10:02 PM UTC, comment #4:

Aha, thanks!

Baurzhan Ismagulov <ibr>
Sun 02 Sep 2007 07:51:07 PM UTC, comment #3:

This is a duplicate of 20536.

Pawel Kot <pkot>
Project AdministratorIn charge of this item.
Sun 02 Sep 2007 07:49:48 PM UTC, comment #2:

Thanks. The real fix is:

Index: common/phones/nk6510.c
===================================================================
RCS file: /cvsroot/gnokii/gnokii/common/phones/nk6510.c,v
retrieving revision 1.241
diff -u -r1.241 nk6510.c
--- common/phones/nk6510.c 5 Aug 2007 16:28:04 -0000 1.241
+++ common/phones/nk6510.c 2 Sep 2007 19:47:16 -0000
@@ -1458,7 +1470,7 @@
switch (message[8]) {
case NK6510_SUBSMS_SMS_SEND_OK: /* 0x00 */
dprintf("SMS sent (reference: %d)\n", message[10]);
- data->raw_sms = message[10];
+ data->raw_sms->reference = message[10];
e = GN_ERR_NONE;
break;

Sorry about that.

Pawel Kot <pkot>
Project AdministratorIn charge of this item.
Sun 02 Sep 2007 07:30:31 PM UTC, comment #1:

The attached patch fixes it for me.

(file #13869)

Baurzhan Ismagulov <ibr>
Sun 02 Sep 2007 05:48:53 PM UTC, original submission:

Valgrind reports invalid free() / delete / delete[].

Baurzhan Ismagulov <ibr>

 

Attached Files
file #13866:  .gnokiirc added by ibr (285B - application/octet-stream)
file #13867:  z added by ibr (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pkot (Posted a comment)
  • -unavailable- added by ibr (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 02 Sep 2007 07:51:07 PM UTCpkotCategorygnokii=>libgnokii
      StatusNone=>Duplicate
      Assigned toNone=>pkot
      Open/ClosedOpen=>Closed
    Sun 02 Sep 2007 07:30:31 PM UTCibrAttached File-=>Added gnokii-ibr-sendsms_free-20070902-2121.diff, #13869
    Sun 02 Sep 2007 05:48:54 PM UTCibrAttached File-=>Added .gnokiirc, #13866
      Attached File-=>Added z, #13867

    Back to the top


    Powered by Savane 3.1-cleanup1