[MDEV-6046] MySQL Bug#11766684 59851: UNINITIALISED VALUE IN ITEM_FUNC_LIKE::SELECT_OPTIMIZE WITH SUBQUERY AND Created: 2014-04-08  Updated: 2014-06-04  Resolved: 2014-06-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.10
Fix Version/s: 10.0.12

Type: Bug Priority: Critical
Reporter: Sergey Vojtovich Assignee: Oleksandr Byelkin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-4784 merge test cases from 5.6 Stalled

 Description   

Looks like the following fix is not merged to 10.0. Though I couldn't reproduce valgrind warning with provided test case. Please check if the fix is worthy.

revno: 3308
committer: Sergey Glukhov <sergey.glukhov@oracle.com>
branch nick: mysql-trunk
timestamp: Wed 2011-07-27 12:06:39 +0400
message:
  Bug#11766684 59851: UNINITIALISED VALUE IN ITEM_FUNC_LIKE::SELECT_OPTIMIZE WITH SUBQUERY AND
  There is an attempt to use uninitialized string buffer
  in case of empty wildcard. The fix is to add string
  length check for wilcard argument.


Generated at Thu Feb 08 07:08:58 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.