[LLVMbugs] [Bug 8950] New: Crypto++ validation test crashes in IDEA code
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jan 10 09:53:31 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=8950
Summary: Crypto++ validation test crashes in IDEA code
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: mclow at qualcomm.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=5981)
--> (http://llvm.org/bugs/attachment.cgi?id=5981)
Replacement makefile (uses clang, removes -O2)
This looks like a codegen error; but I'm not 100% sure.
To reproduce:
1) Get crypto++ from here: "svn co
https://cryptopp.svn.sourceforge.net/svnroot/cryptopp/trunk/c5 cryptopp"
2) Replace GNUMakefile with one from this bug report.
3) make test
--> segmentation fault
Running under gdb shows:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x000000010017d7a0 in CryptoPP::IDEA::Base::DeKey (this=0x100d04ba0) at
idea.cpp:141
141 tempkey[i*6+5] = m_key[(ROUNDS-1-i)*6+5];
and some poking around shows that i == 0, and that the sizes of the arrays are
ok.
More questions? Drop me a line.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list