The ULONG_MAX turns into -1 here, which isn't what was intended.
I'll avoid the bikeshed of the least worst full fix and take half
the range which is plenty for my purposes.

Also fix the array indexing to not segfault.
---
 toys/other/memeater.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Attachment: 0001-memeater-fixes.patch
Description: Binary data

_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to