1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-27 01:57:48 +03:00
Gleb Shchepa afa3d1207b buckport to 5.1.26 from 6.0
Bug#35658 (An empty binary value leads to mysqld crash)
  
Before this fix, the following token
  b''
caused the parser to crash when reading the binary value from the empty string.
The crash was caused by:
  ptr+= max_length - 1;
because max_length is unsigned and was 0, causing an overflow.
  
With this fix, an empty binary literal b'' is parsed as a binary value 0,
in Item_bin_string.
2008-06-27 18:22:23 +05:00
..
2008-04-01 12:29:53 +02:00
2008-03-12 13:22:58 +03:00
2008-03-17 14:26:00 +03:00
2008-01-17 15:37:18 -08:00
2008-03-08 01:14:56 +04:00
2008-04-22 21:49:39 -07:00
2007-10-27 01:40:48 +05:00
2007-11-01 12:30:03 -07:00
2008-03-29 00:05:20 +03:00
2007-08-31 16:59:07 +05:00
2008-04-22 21:49:39 -07:00
2007-11-20 20:15:20 +04:00
2008-02-25 21:18:50 +01:00
2008-02-25 21:18:50 +01:00
2008-01-25 16:05:15 -08:00
2008-04-08 20:01:20 +04:00
2008-04-02 00:43:17 +02:00
2008-06-17 19:05:56 -06:00
2008-05-08 20:13:39 +02:00
2008-05-08 20:13:39 +02:00
2007-10-27 01:40:48 +05:00
2008-03-26 20:27:23 +01:00
2008-03-25 17:48:05 -06:00
2008-05-13 16:10:08 +02:00
2008-06-19 05:08:41 +02:00
2008-05-08 20:13:39 +02:00
2008-05-08 20:13:39 +02:00
2008-04-08 20:01:20 +04:00
2008-03-14 21:37:19 +01:00
2008-06-27 18:22:23 +05:00
2008-03-27 00:55:13 +04:00
2007-11-18 17:33:12 +04:00