Bug #36983 | stack corruption and crash with des_encrypt crashes on invalid inputs | ||
---|---|---|---|
Submitted: | 26 May 2008 15:34 | Modified: | 22 Sep 2008 16:38 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S1 (Critical) |
Version: | 5.1.26bk | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | DES_ENCRYPT, regression |
[26 May 2008 15:34]
Shane Bester
[26 May 2008 15:35]
MySQL Verification Team
please make sure the above sql is all on 1 line when running it. silly wrapping.
[26 May 2008 18:32]
Sveta Smirnova
Thank you for the report. I can not repeat described behavior nor on Mac neither on Linux. Which operation system do you use? Do yo paste the statement into command line client?
[26 May 2008 18:48]
MySQL Verification Team
paste into cmdline client all on one line. this is with the -debug binaries from todays BK. when run under valgrind, I got illegal instruction errors.. OS is: [sbester@box1 6.0]$ cat /proc/version Linux version 2.6.18-1.2798.fc6xen (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 15:11:19 EDT 2006 [
[26 May 2008 20:23]
MySQL Verification Team
I could not repeat the crash on FC8 64-bit with latest source and debug build.
[27 May 2008 5:49]
MySQL Verification Team
assigning back to myself to make better testcase \o/
[27 May 2008 8:45]
MySQL Verification Team
using same source code on a windows build, i cannot repeat the crash, even after hundreds of thousands of tests. But in older linux builds on the same box this crashes happens now, the SQL doesn't crash, so there's some explanation required somewhere.