Commit 5f3d3cdb authored by Jimmy Yang's avatar Jimmy Yang

Fix Bug #13405367 - 60212 SERVER CRASH WITH CORRUPT FETCH BUFFER

rb://608 approved by Sunny Bains
parent a8e291cc
......@@ -289,21 +289,21 @@ row_mysql_pad_col(
/* space=0x0020 */
pad_end = pad + len;
ut_a(!(len % 2));
do {
while (pad < pad_end) {
*pad++ = 0x00;
*pad++ = 0x20;
} while (pad < pad_end);
};
break;
case 4:
/* space=0x00000020 */
pad_end = pad + len;
ut_a(!(len % 4));
do {
while (pad < pad_end) {
*pad++ = 0x00;
*pad++ = 0x00;
*pad++ = 0x00;
*pad++ = 0x20;
} while (pad < pad_end);
}
break;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment