News for hackers. Stuff that matters.
Re:Strlcpy and strlcat added to glibc 2.38 by masklinn on Tuesday July 18, 2023 @02:35AM (#36768674)
I mean it’s a wash, on the one hand zero terminated strings have done untold amounts of damage[0] and are impossible to extirpate once they’re in, on the other hand the nazis were methed (and coked later on) up their eyeballs.

[0] and not just in C itself, unexpected truncation through FFI is an issue which regularly pops up

Re:Strlcpy and strlcat added to glibc 2.38 by GoblinSlayer on Tuesday July 18, 2023 @02:20PM (#36777027)
odbc defines multilingual interface that can accept both null terminated and length bounded strings by using NTS sentinel value for null terminated string length.