Fixed a false buffer overrun condition.