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:
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
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.

[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.