C or C++ : Internal information leak