[Toybox] [PATCH] memeater: fixes.
enh
enh at google.com
Fri Jan 26 09:28:17 PST 2024
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(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240126/d3df6088/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-memeater-fixes.patch
Type: application/octet-stream
Size: 1151 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240126/d3df6088/attachment-0001.obj>
More information about the Toybox
mailing list