[fix] Check tainted data preventing overflow in malloc