[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GN_OP_OnSMS in nk6510

From: Bastien Nocera
Subject: Re: GN_OP_OnSMS in nk6510
Date: Tue, 03 Jul 2007 21:31:08 +0100

On Tue, 2007-07-03 at 22:32 +0200, Pawel Kot wrote:
> Hi,
> On 7/3/07, Bastien Nocera <address@hidden> wrote:
> > There must be a bug, as "gnokii --getsms IN 0 end" segfaults, I'll add
> > it to my list of bugs to file properly.
> SMS indexing starts with 1, but anyway it works for me. Which driver
> is that? Any more details?


Program received signal SIGSEGV, Segmentation fault.
0x00002aaaaaae4292 in NK6510_GetSMS (data=0x622be8, state=0x622810) at 
1238            data->raw_sms->number = 
data->sms_folder->locations[data->raw_sms->number - 1];
(gdb) bt
#0  0x00002aaaaaae4292 in NK6510_GetSMS (data=0x622be8, state=0x622810) at 
#1  0x00002aaaaaae8e8b in NK6510_Functions (op=<value optimized out>, 
data=0x622be8, state=0x622810) at nk6510.c:354
#2  0x00002aaaaaad066b in gn_sms_get (data=0x622be8, state=0x622810) at 
#3  0x000000000040e909 in getsms (argc=1, argv=0x7fffc2938e28, data=0x622be8, 
state=0x622810) at gnokii-sms.c:706
#4  0x0000000000403185 in parse_options (argc=4, argv=0x7fffc2938e28) at 
#5  0x0000000000403682 in main (argc=4, argv=0x7fffc2938e28) at gnokii.c:1054

Looks like it's not checking for negative numbers (huh).

> [...]
> Thanks. I should provide feedback tonight.

Great, thanks.

Bastien Nocera <address@hidden> 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]