A recently-patched bug in the widely-used sudo command makes for interesting reading. The patch reminds us of some important points in security-related programming.