[Top][All Lists]

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

Re: Segfault with smsd

From: Daniele Forsi
Subject: Re: Segfault with smsd
Date: Fri, 28 Aug 2009 12:31:35 +0200

2009/8/28 Pawel Kot:

> On Fri, Aug 28, 2009 at 03:17, Trevor Nichols<address@hidden> wrote:
>> /opt/gnokii/bin/gnokii --version
>> GNOKII Version 0.6.27
> Can you show it from the last version?

you meant the git version:
which indeed has some SMS improvements

>> (gdb) bt
>> #0  0x00007ffda15b7e13 in ValidateSMS (data=0x612380, state=0x8a76e0) at
>> nk7110.c:1266

I think it's an invalid array index at line 1266 when
data->raw_sms->number is zero, as the OP noted
data->raw_sms->number = data->sms_folder->locations[data->raw_sms->number - 1];

Trevor, can you apply try the attached patch with the git version?
Daniele Forsi

Attachment: 0001-Fix-segfault-on-getsms-and-deletesms-when-raw_sms-n.patch
Description: Text Data

reply via email to

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