Bug 1999284 - Coverity Scan Review
Summary: Coverity Scan Review
Keywords:
Status: CLOSED DUPLICATE of bug 1938727
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: glibc
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: glibc team
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-30 19:16 UTC by Steve Grubb
Modified: 2023-07-18 14:29 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-30 23:40:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch with suggested fixes (1.45 KB, patch)
2021-08-30 19:16 UTC, Steve Grubb
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-95632 0 None None None 2021-08-30 21:13:22 UTC

Description Steve Grubb 2021-08-30 19:16:10 UTC
Created attachment 1819165 [details]
Patch with suggested fixes

Description of problem:
As part of the RHEL 9 common criteria preparations, a review was done of coverity results to see if there are any problems found in the important results. Overall there were only 3 items that appear to be real bugs. All of them being resource leaks.

The coverity scan used is here:
https://cov01.lab.eng.brq.redhat.com/covscanhub/task/229105/log/glibc-2.34-2.el9/scan-results-imp.err

The real problems are these:

glibc-2.34/elf/ldconfig.c:506: leaked_storage:
iconv/gconv_parseconfdir.h:159: leaked_storage
iconv/iconv_charmap.c:238: leaked_storage

Additional info:
A patch with suggested fixes will be attached to expedite resolution.

Comment 1 Siddhesh Poyarekar 2021-08-30 23:40:25 UTC
I've kept bug 1938727 open to ensure that the scans remain clean for glibc through to release.  These specific issues should be fixed by the next rebase, i.e. bug 1994653 since they're fixed upstream[1][2][3] in release/2.34/master.

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=9995d0588f4f9adc68419224d2b3698e2ca4f77e
[2] https://sourceware.org/git/?p=glibc.git;a=commit;h=3a48da47a91ccc6f5de260574809e7a44551b876
[3] https://sourceware.org/git/?p=glibc.git;a=commit;h=0b03996304f86d6dba8f0d4b7048b9bb7186f17d

*** This bug has been marked as a duplicate of bug 1938727 ***


Note You need to log in before you can comment on or make changes to this bug.