Wim Lewis - 2004-05-22

Patch to avoid reading past end of buffer