Bug #53219 Not all objects created are checked if they are not NULL
Submitted: 27 Apr 2010 19:22 Modified: 4 Jun 2010 23:45
Reporter: Sveta Smirnova Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0, 5.1 bzr OS:Any
Assigned to: CPU Architecture:Any

[27 Apr 2010 19:22] Sveta Smirnova
Description:
There are several places in the code where the results of *new* operator was not checked for being NULL. This can lead to crashes due to out of memory without proper error message in the error log.

How to repeat:
Search sql/sql_yacc.yy for new operator.

Suggested fix:
Check if result of new is not null.
[30 Apr 2010 0:12] Davi Arnaut
You will have to be more specific since Bug#38296 fixed a whole bunch of them.
[4 Jun 2010 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[4 Jun 2010 23:45] Davi Arnaut
Closed as a duplicate of Bug#38296