-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If this is the case what can be done? On 12/09/2013 06:19 PM, Steve Glass wrote:
Sorry for the late reply on this but I fear you are returning a reference to a variable that's on the stack (and hence out-of-scope by the time control returns from the call). The bit pattern maybe there in memory but you are making an illegal access.
Lets see the code snippet for the function and we can help.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) Comment: MacGPG2 - http://www.gpgtools.org/macgpg2.html Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSqK6tAAoJECrdp7MWSIVbc1IIAIQWoR5WZKQF7FbXOoSxHFhM pgJ/miGfQIatuY22EE5RIiAh2+/R+JzQSaTyTXuq8rv2YN9EK2BlRt9shZEwVJ5C c6/KvgOoBebXE5VqWvDUfGs6uHP9kul3FSKSNaxJ7qypAmqiy3XTts4lXnSrK4TY Kuk2l4XglTxSRn7as+4WOrfQIgd+aJgoqZSwnU4s8HnhEG2ho76oL1pRpP8OQymT 0yDixJo/OS/FlLhvB0i/U2HLrJQzfM08IuyhsRZmGRH0eP5yXZn4eiESUb9FyVMw vazd2J+VlKIuEcwiW2WMier+PZOghbsi9uac3vqw/TH8q8FatrK4rzgweBmVXvc= =QJ7i -----END PGP SIGNATURE-----