[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62398] .../troff/input.cpp: argument "len" is zero in "new unsigne
From: |
Dave |
Subject: |
[bug #62398] .../troff/input.cpp: argument "len" is zero in "new unsigned char[len]" |
Date: |
Sat, 8 Oct 2022 14:09:45 -0400 (EDT) |
Follow-up Comment #8, bug #62398 (project groff):
In the original code, I also wonder--since the "new" isn't protected by a "len
> 0" check--why the memcpy is. Surely a memcpy() on a zero-length string is
effectively a no-op.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62398>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62398] .../troff/input.cpp: argument "len" is zero in "new unsigned char[len]",
Dave <=