Fix (well, ok - workaround) the segfault caused by computing an address that
is before the malloc'd buffer.
Authored by: sms00 2007-03-06
Parent: [r3171]
Child: [r3173]