SIgh, there is a HUGE difference between
ptr = malloc(N) + M
and
ptr = malloc(N + M)
when "extra/padding" bytes are needed you have to use the second form and not the first!!!
Authored by: sms00 2006-11-30
Parent: [r3145]
Child: [r3147]