Hacker News new | ask | show | jobs
by ajasmin 15 days ago
Finding these kind of bugs would have required fuzzing and some kind of bound checking canaries. Not sure all bound checkers work on the hand-optimized assembly.

Or as it turns out an LLM! Not clear whether their agent spawned any classic tools...

1 comments

> bound checking canaries

I used memory protection for that. mmap a page, align the string start/end to the page boundaries. Catches both bad reads and writes.