Bug #35437 potential crash with ALTER SERVER statement when out of memory

Submitted: 19 Mar 2008 13:01 Modified: 19 Mar 2008 14:02
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Federated storage engine Severity:S3 (Non-critical)
Version:5.1.x OS:Any
Assigned to: CPU Architecture:Any
Tags: alter server, OOM

[19 Mar 2008 13:01] Shane Bester
Description:
Related to bug #34790 ('create server' doesn't handle out of memory scenario well enough)

In low-memory situations it is possible ALTER SERVER can crash the server.

How to repeat:
Read the code.  Memory allocation failures can be better detected in some places in sql_servers.cc:

alter_server() 
prepare_server_struct_for_update()
[19 Mar 2008 14:02] Valeriy Kravchuk
Thank you for a bug report.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.