/dev/random

Reality has a liberal bias

/dev/random random header image

The kind of bug I like to find

December 18th, 2006 · No Comments · Programming

Simple, obvious bugs with a quick fix are always fun. In some old code, I found this:


fread(&type,4,1,pkginfo);
if (type == ‘APPL’) ….

Guess what happens on an Intel Mac?

Tags: