News for hackers. Stuff that matters.
Re:C Strings and my slow descent to madness by lmm on Thursday April 06, 2023 @08:21PM (#35476423)
Indentation and lack of fixed types aren't responsible for over 50% of known security issues in software.

C's issue are not just harmless foibles. They cause real harm to the poor people actually using the software.

Re:C Strings and my slow descent to madness by heywhatupboys on Friday April 07, 2023 @06:37AM (#35480170)
> Indentation and lack of fixed types aren't responsible for over 50% of known security issues in software.

there is no way of fixing this with a "string type". The errors come from IPC/Internet, and there will always be just a sequence of bytes, and some length, maybe, given by the user. Somewhere some code will have to trust this length, or compute a length.