]> Sergey Matveev's repositories - st.git/commit
avoid potential UB when using isprint()
authorNRK <nrk@disroot.org>
Fri, 18 Mar 2022 10:20:54 +0000 (16:20 +0600)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 18 Mar 2022 11:11:27 +0000 (12:11 +0100)
commitaf3bb68add1c40d19d0dee382009e21b0870a38f
treeb18ab790bbc7a3ac21e39ab606b7d05c9274a105
parent2aefa348baf4b702fdce98eb105bcba175d8283f
avoid potential UB when using isprint()

all the ctype.h functions' argument must be representable as an unsigned
char or as EOF, otherwise the behavior is undefined.
st.c