Bug #72878 | Buffer overflow in Slave_reporting_capability::va_report Edit | ||
---|---|---|---|
Submitted: | 4 Jun 2014 15:33 | Modified: | 3 Jul 2014 5:16 |
Reporter: | Sergei Glushchenko | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Logging | Severity: | S3 (Non-critical) |
Version: | 5.6.14 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | crash |
[4 Jun 2014 15:33]
Sergei Glushchenko
[3 Jul 2014 5:16]
Erlend Dahl
[26 Jun 2014 3:35] Jon Stephens Documented fix as follows in the 5.6.20 and 5.7.5 changelogs: When a slave worker thread tried to execute a statement was too large, the resulting error caused a crash. Now in such cases, the error is truncated to fit the size of the buffer. Closed.
[6 Aug 2014 17:21]
Laurynas Biveinis
$ bzr log -n0 -r 5934 ------------------------------------------------------------ revno: 5934 committer: Andrei Elkin <andrei.elkin@oracle.com> branch nick: 5.6-fixes timestamp: Tue 2014-05-13 12:09:33 +0300 message: Bug#18563480 CRASH WHEN SLAVE WORKER TRY TO EXECUTE A BIG STATEMENT THAT SHOULD FAIL The failure was caused by exceeding of capacity of the internal buffer by ultimate error reporting message text. It is fixed by submitting the error text to the size of the buffer. Any excess is simply cut off.
[6 Aug 2014 17:23]
Laurynas Biveinis
$ bzr log -n0 -r 5934 ------------------------------------------------------------ revno: 5934 committer: Andrei Elkin <andrei.elkin@oracle.com> branch nick: 5.6-fixes timestamp: Tue 2014-05-13 12:09:33 +0300 message: Bug#18563480 CRASH WHEN SLAVE WORKER TRY TO EXECUTE A BIG STATEMENT THAT SHOULD FAIL The failure was caused by exceeding of capacity of the internal buffer by ultimate error reporting message text. It is fixed by submitting the error text to the size of the buffer. Any excess is simply cut off.
[6 Aug 2014 17:23]
Laurynas Biveinis
$ bzr log -n0 -r 5935 ------------------------------------------------------------ revno: 5935 committer: Andrei Elkin <andrei.elkin@oracle.com> branch nick: 5.6-fixes timestamp: Tue 2014-05-13 14:35:58 +0300 message: bug18563480 post-push: compile on win is fixed.