BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001081 [uClibc] Standards Compliance crash always 11-05-06 14:51 09-24-08 08:31
Reporter uecasm View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version 0.9.26
Summary 0001081: lfind/lsearch prototype error
Description (I checked the code in 0.9.28 and it seems to have the same issue)

In uClibc, the comparison function for lfind and lsearch is invoked using the array pointer followed by the key pointer.

However, according to my Debian man page that's the wrong way around.
Additional Information The manpage states:

"The comparison function referenced by compar is expected to have two arguments which point to the key object and to an array member, in that order, and which returns zero if the key object matches the array member, and non-zero otherwise."
Attached Files

- Relationships

- Notes
(0011904)
bernhardf
09-24-08 08:31

Thanks for the report, this was fixed as r23472.
 

- Issue History
Date Modified Username Field Change
11-05-06 14:51 uecasm New Issue
11-05-06 14:51 uecasm Status new => assigned
11-05-06 14:51 uecasm Assigned To  => uClibc
09-24-08 08:31 bernhardf Status assigned => closed
09-24-08 08:31 bernhardf Note Added: 0011904
09-24-08 08:31 bernhardf Resolution open => fixed
09-24-08 08:31 bernhardf Fixed in Version  => 0.9.30


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker