Bug #106117 Crash in resend_bucket in Suma.cpp

Submitted: 8 Jan 2022 18:15 Modified: 17 Jan 2022 18:41
Reporter: Mikael Ronström Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:8.0.27 OS:Any
Assigned to: CPU Architecture:Any

[8 Jan 2022 18:15] Mikael Ronström
Description:
Gcp pointer is initialised with call to last.
This can fail and return a null pointer which leads to crash when the pointer is used
to setup EVENT_REP signal.

How to repeat:
test_event -r 5000 -n Bug30780 T1
At least fails on Mac OS X with ARM

Suggested fix:
Probably set to 0 if pointer is nullptr, possibly better solution exists.
[8 Jan 2022 18:16] Mikael Ronström
The failing method is start_resend
[17 Jan 2022 18:41] MySQL Verification Team
Hi Mikael, Thank you for the report.

all best
Bogdan

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

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