gnokii-users
[Top][All Lists]
Advanced

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

Re: buffer overflow


From: Baurzhan Ismagulov
Subject: Re: buffer overflow
Date: Sat, 31 Mar 2007 18:49:29 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Mon, Mar 19, 2007 at 09:58:44PM +0100, Pawel Kot wrote:
> >I'm trying to copy my contacts from 6310i to K750i. I was able to read
> >them from the old phone, but writing to the new one caused a SIGSEGV.
> >
> >I've seen that char_ucs2_encode scans four times as many characters as
> >necessary, overwriting the stack. So, attached is my first attempt to
> >fix the problem.
> >
> >The patch has some issues (AT_WritePhonebook needs rewriting), I'll fix
> >them later. Please note that I haven't explicitly tested
> >char_ascii_encode, char_hex_encode, and memcpy parts in at_encode.
> >
> >Please let me know what you think about the patch.
> 
> I did the code review. And it looks really good. Now I need to do some
> testing. Hope to commit it in few days.

Nice to hear! Could you please let me know when you do?

With kind regards,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/




reply via email to

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