[PATCH] capability: Fix string comparison in cap_name_to_number

Mark Marshall mark.marshall at omicronenergy.com
Fri Jan 18 08:22:30 UTC 2019


Hi.


The attached patch fixes a bug in libbb/capability.c.

The result of strcasecmp was being used wrongly.


This bug was introduced by change

44b3f2ffbc01c0a9fcfb5d60af3e292f505ac67c


Regards,

Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190118/e50893ea/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-capability-Fix-string-comparison-in-cap_name_to_numb.patch
Type: text/x-patch
Size: 990 bytes
Desc: 0001-capability-Fix-string-comparison-in-cap_name_to_numb.patch
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190118/e50893ea/attachment.bin>


More information about the busybox mailing list