NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/21156 (Potential misuse of ctype functions [bc])
Synopsis: Potential misuse of ctype functions [bc]
State-Changed-From-To: open->closed
State-Changed-By: rillig%NetBSD.org@localhost
State-Changed-When: Fri, 11 Feb 2022 22:07:55 +0000
State-Changed-Why:
Since 2021-04-05, lint warns for calls to the functions or macros from
<ctype.h> that pass a wrong type. See usr.bin/xlint/lint1/ckctype.c
for the implementation.
See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99950.
This doesn't fix the issue completely but at least makes the locations
visible that may lead to undefined behavior.
Home |
Main Index |
Thread Index |
Old Index