Bug #31604 | server crash when setting slow_query_log_file/global general_log_file variable | ||
---|---|---|---|
Submitted: | 15 Oct 2007 11:58 | Modified: | 20 Dec 2007 0:31 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Logging | Severity: | S1 (Critical) |
Version: | 5.1.23 | OS: | Any |
Assigned to: | Ramil Kalimullin | CPU Architecture: | Any |
Tags: | crash, general_log_file, slow_query_log_file |
[15 Oct 2007 11:58]
Shane Bester
[15 Oct 2007 12:03]
MySQL Verification Team
same problem with: set global slow_query_log_file = substr('a',1);
[16 Oct 2007 12:19]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/35645 ChangeSet@1.2583, 2007-10-16 17:19:07+05:00, ramil@mysql.com +3 -0 Fix bug #31604: server crash when setting slow_query_log_file/global general_log_file variable Problem: we don't evaluate given expression checking values of the slow_query_log_file/general_log_file, don't check it for NULL. Fix: evaluate the expression, check result returned.
[7 Dec 2007 23:07]
Bugs System
Pushed into 6.0.5-alpha
[7 Dec 2007 23:08]
Bugs System
Pushed into 5.1.23-rc
[20 Dec 2007 0:31]
Paul DuBois
Noted in 5.1.23, 6.0.5 changelogs. Setting the general_log_file or slow_query_log_file system variable to certain values could cause a server crash.
[18 Mar 2008 12:53]
Valeriy Kravchuk
Bug #35371 was marked as a duplicate of this one.