News for hackers. Stuff that matters.
Re:Checked-size array parameters in C by jacquesm on Thursday December 04, 2025 @05:49AM (#46146116)
Indeed, at a minimum you should be able to enforce that check using a compiler flag.
Re:Checked-size array parameters in C by uecker on Thursday December 04, 2025 @06:28PM (#46154733)
You can add that check using -fsanitize=null (and you may want to turn the diagnostic into a run-time trap)