Red Hat Bugzilla – Bug 1014354
Coverity fixes - 12023, 12024, and 12025
Last modified: 2014-06-17 23:00:53 EDT
This bug is created as a clone of upstream ticket:
fix newer coverity issues 12023, 12024, and 12025
ldclt.c: 12023 Ignoring number of bytes read
The number of bytes copied into the buffer can be smaller than the requested number and the buffer can potentially be accessed out of range.
In basicInit: Value returned from a function and indicating the number of bytes read is ignored.
roles_cache.c: 12024 Resource leak
The system resource will not be reclaimed and reused, reducing the future availability of the resource.
In roles_cache_create_object_from_entry: Leak of memory or pointers to system resources
dblayer.c: 12025 Wrong sizeof argument
The wrong sizeof value is used in an expression or as argument to a function. The result is an incorrect value that may cause unexpected program behaviors.
In read_metadata: The sizeof operator is invoked on the wrong argument
Is this sanity only verification?
(In reply to Sankar Ramalingam from comment #3)
> Is this sanity only verification?
Yes, and checking coverity to see there are no issues.
(In reply to Rich Megginson from comment #4)
> (In reply to Sankar Ramalingam from comment #3)
> > Is this sanity only verification?
> Yes, and checking coverity to see there are no issues.
How do I check coverity reports 389-ds-base?
This is the 389-ds link. The page is now empty.
(In reply to Noriko Hosoi from comment #6)
> This is the 389-ds link. The page is now empty.
I don't have an access to this page. Should I go ahead and mark the bug as verified since there are no Coverity issues reported?
Yes, please mark as VERIFIED.
As per Rich's comment, marking the bug as Verified.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.