Skip to content

Comment on Why Van Halen's contract calls for the removal of all brown M&Msparent

Comments

A canary is also a random value placed on the stack so the program can detect a buffer overflow. If the canary has been overwritten the program can terminate before malicious code is executed. I suspect a significant portion of Hacker News users is familiar with this terminology regardless of where they learned English.

Bit off-topic, but the Rsync project als has a canary for when things go wrong: http://www.rsync.net/resources/notices/canary.txt

As a non-programmer, I had no idea that this usage was so widespread. That's actually rather cool, and I'm going to ping my editor to add it to the reference books.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.