Thanks Tom. So apparently I'm doing something wrong. On Wed, Feb 5, 2014 at 5:40 PM, Tom Hughes <t...@compton.nu> wrote: > On 05/02/14 22:21, Jeffrey Walton wrote: > >> ==6516== Use of uninitialised value of size 8 >> ==6516== at 0x533B449: _x86_64_AES_encrypt_compact (in >> /usr/local/ssl/lib/libcrypto.so.1.0.0) >> ==6516== by 0x533B6DA: fips_aes_encrypt (in >> /usr/local/ssl/lib/libcrypto.so.1.0.0) >> ==6516== by 0x56FBC47: ??? (in /usr/local/ssl/lib/libcrypto.so.1.0.0) >> ==6516== by 0x56FBD27: ??? (in /usr/local/ssl/lib/libcrypto.so.1.0.0) >> ==6516== by 0x56FBE47: ??? (in /usr/local/ssl/lib/libcrypto.so.1.0.0) >> ==6516== by 0xFFEFFFE17: ??? > > > So this is the stack you are matching against. That's part of the finding, but not the whole finding.
>> { >> RAND_init_fips_1 >> Memcheck:Cond >> ... >> fun:RAND_init_fips >> ... >> } > > > and this is one of the match rules, which uses a function that is not in the > stack being matched. > > >> Any ideas what I'm doing wrong? > > > Yes, you're trying to match against the location where the memory is > allocated, but suppression rules (except for leak suppressions) match > against the stack at the point the error is detected. It appears to me that the finding ends with: ==6566== Use of uninitialised value of size 8 ==6566== at 0x533B449: _x86_64_AES_encrypt_compact (in /usr/local/ssl/lib/libcrypto.so.1.0.0) And starts with: ==6566== by 0x4103E7: DoStartupOpenSSL() (ac-openssl-1.cpp:494) ==6566== by 0x419504: main (main.cpp:69) (Sorry to do it in reverse order. It seems natural because it follows Valgrind's onscreen output). Are you stating those are two different findings? If they are two different findings, shouldn't there be two different: ==6566== by 0x4103E7: DoStartupOpenSSL() (ac-openssl-1.cpp:494) ==6566== by 0x419504: main (main.cpp:69) Jeff ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users