Bug #108519 Return value of _addExtensionToList() not get checked

Submitted: 16 Sep 2022 2:02 Modified: 20 Sep 2022 5:22
Reporter: Li Zhong Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S3 (Non-critical)
Version:8.0.21 OS:Any
Assigned to: CPU Architecture:Any

[16 Sep 2022 2:02] Li Zhong
Description:
In https://github.com/mysql/mysql-server/blob/mysql-cluster-8.0.21/extra/icu/source/common/ul..., the _addExtensionToList() return value is checked.

How to repeat:
We find this by our static analysis tool. The analysis result is checked manually.

Suggested fix:
Add check on this function
[16 Sep 2022 6:08] MySQL Verification Team
Hello Li Zhong,

Thank you for the report and feedback.

regards,
Umesh
[19 Sep 2022 10:25] Tor Didriksen
Posted by developer:
 
This is 3rd party code, which we do not maintain.
We actually disable all known compiler warnings,
see extra/icu/CMakeLists.txt

I suggest you file a bug with ICU instead.
[20 Sep 2022 5:22] Li Zhong
Thanks for confirmation! I will report this to ICU.

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.