July 25th, 2008

The Computer Is Your Friend!

Here’s an interesting story: X Window System has a critical security bug. Interesting, because of the way it was found: An automated code analyser noticed that some parentheses weren’t correctly formatted. The red flag generated by this automated analyser led to the discovery of this bug.

Needless to say it would be even nicer if such a code analyser runs as-you-type your code, instead of an afterthought like this. In effect this is a lot like Eclipse’s java warnings, especially if you throw in an extended set such as Argus Code Watch.

The vast majority of automated tests that currently exist or should be possible to write depend in no small amount on the analysable information in a code fragment. For obvious reasons, dynamic languages tend to have far less practically analysable elements in any given line of code. One mans kludge is, apparently, another man’s critical security vulnerability.

Leave a Response

(Note: if you use a new name from an unknown ip address, your comment won't appear until I approve it. Anti-spam measure only, I don't censor).

Imhotep theme designed by Chris Lin. Proudly powered by Wordpress.
XHTML | CSS | RSS | Comments RSS