zhengzkkai / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

Segmentation fault on package removal #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. opkg install <packet containing files and _directories_>
2. opkg remove <just installed packet>
3.

What is the expected output? What do you see instead?
Expected: Package removal.
Got: Segmention fault.

What version of the product are you using? On what operating system?
SVN snapshot R214

Please provide any additional information below.
Problem was found in str_list. In str_list_remove() return value
from void_list_remove() interpreted as str_list_elt_t*, which is incorrect.
Returned value is data assigned to removed element as in str_list_remove_elt().

Attached patch fixes the problem.

Original issue reported on code.google.com by kosm...@gmail.com on 1 Jul 2009 at 9:16

Attachments: