[Toybox] [PATCH] seq.c: fix itoa for INT_MIN in case itoa gets used elsewhere.
enh
enh at google.com
Tue Dec 15 14:04:27 PST 2020
It can't actually be used for INT_MIN in the current context because the
`dd += increment` on line 100 means that even if "last" is INT_MIN, we
won't take the fast path because INT_MIN - 1 isn't representable.
---
toys/lsb/seq.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20201215/cd0c1da5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-seq.c-fix-itoa-for-INT_MIN-in-case-itoa-gets-used-el.patch
Type: text/x-patch
Size: 1001 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20201215/cd0c1da5/attachment-0002.bin>
More information about the Toybox
mailing list