size_t malicious_x = (size_t)(secret - (char * ) array1);


ㅇ...