check pointer overflow in t2.c