Bug #44977 ClusterMgr::theInputBuffer not initialized

Submitted: 20 May 2009 9:12 Modified: 26 May 2009 9:11
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Magnus Blåudd CPU Architecture:Any

[20 May 2009 9:12] Magnus Blåudd
Description:
=== modified file 'storage/ndb/src/ndbapi/ClusterMgr.cpp'
--- storage/ndb/src/ndbapi/ClusterMgr.cpp	2009-01-12 13:17:31 +0000
+++ storage/ndb/src/ndbapi/ClusterMgr.cpp	2009-05-19 08:48:02 +0000
@@ -647,7 +647,7 @@ ArbitMgr::ArbitMgr(TransporterFacade & _
 
   theInputTimeout = 0;
   theInputFull = false;
-  memset(&theInputFull, 0, sizeof(theInputFull));
+  memset(&theInputFull, 0, sizeof(theInputFull));// MASV theInputBuffer ?
   theState = StateInit;
 
   memset(&theStartReq, 0, sizeof(theStartReq));

How to repeat:
MCI

Suggested fix:
The memset should be done on theInputBuffer instead of theInputFull "bool" variable.
[20 May 2009 9:33] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/74563
[20 May 2009 9:59] Bugs System
Pushed into 5.1.34-ndb-6.2.18 (revid:magnus.blaudd@sun.com-20090520095814-ohuwoh5rq722cw92) (version source revid:magnus.blaudd@sun.com-20090520095814-ohuwoh5rq722cw92) (merge vers: 5.1.34-ndb-6.2.18) (pib:6)
[20 May 2009 10:28] Bugs System
Pushed into 5.1.34-ndb-6.3.25 (revid:magnus.blaudd@sun.com-20090520102706-7gzlzhnh8fpgrbju) (version source revid:magnus.blaudd@sun.com-20090520102706-7gzlzhnh8fpgrbju) (merge vers: 5.1.34-ndb-6.3.25) (pib:6)
[20 May 2009 11:07] Bugs System
Pushed into 5.1.34-ndb-7.0.6 (revid:magnus.blaudd@sun.com-20090520104641-oqk9opos7wagm8kr) (version source revid:magnus.blaudd@sun.com-20090520104641-oqk9opos7wagm8kr) (merge vers: 5.1.34-ndb-7.0.6) (pib:6)
[26 May 2009 9:11] Jon Stephens
Documented bugfix in the NDB-6.2.18, 6.3.25, and 7.0.6 changelogs as follows:

        An internal NDBAPI buffer was not properly initialized.

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

Page generated in 0.039 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.