Fix a denial-of-service attack, SF bug #443120.

Code by Evan Simpson.
1 file changed