Vaya con Dios, strncpy

Share Post Share reddit This week strncpy(3) was removed from the Linux kernel.  It has a bad, and somewhat undeserved, reputation as a source of bugs and vulnerabilities. If you’re not familiar with it, here’s what it looks like: char * strncpy(char * dst, const char...

Programming Languages I Have Known and Loved (and Hated)

Share Post Share reddit I ran into a polyglot the other day who asked me how many languages I knew.  I flashed back to a moment circa 1977 when I was a young kid in a summer program to learn about computers.  We were sitting at terminals and someone asked a hacker (in...