segfault while upgrading opkg...

Tick Chen tick at openmoko.com
Wed Jul 23 18:49:47 CEST 2008


Hi Alex, 
 Good catch!!
This patch looks to me.
Commit as version:  4553

Thank You, 
Tick

On Wed, Jul 23, 2008 at 07:13:01PM +0300, Alexandros Kostopoulos wrote:
> Hi all,
> While trying to upgrade opkg itself, I got a seg fault. After doing some  
> bug tracing, I ended up in function get_user_response, in file user.c. I  
> think that the problem lies in the vsnprintf function. Its manpage states 
> that after the call, the ap va_list parameter passed is undefined. So, I  
> prepared a small patch for this, that seems to work in my case.
>
> Please review and comment.
>
> thank you
>
> Alex


> _______________________________________________
> opkg-devel mailing list
> opkg-devel at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/opkg-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/opkg-devel/attachments/20080724/8db30381/attachment.pgp 


More information about the opkg-devel mailing list