Ticket #5203: Don't crash when checking buffer overrun for invalid code.
Merge pull request #200 from simartin/ticket_5203

Ticket #5203: Don't crash when checking buffer overrun for invalid code.