Buffer overrun when referencing 'curtime' field (rev. 12_b5)

Signed-off-by: nixnodes <code@eth.si>