segfault while upgrading opkg...

Alexandros Kostopoulos akostop at
Wed Jul 23 18:13:01 CEST 2008

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: user_c.patch
Type: application/octet-stream
Size: 650 bytes
Desc: not available
Url : 

More information about the opkg-devel mailing list