Red Hat Bugzilla – Bug 454589
setElementAt() doesn't copy value of CMPI_char parameter
Last modified: 2009-06-20 00:47:29 EDT
Description of problem:
From OpenPegasus bugzilla 7766 at:
"When calling setElementAt with a CMPIValue that is of type CMPI_chars, only the
char pointer is copied, not the contents. This leads to a dangling pointer if
the character data has a lifetime less than the array in question."
I was wondering whether this patch could be rolled into the next release of the
RedHat tog-pegasus RPM? Without this fix CMPI providers can crash, and since
out-of-process providers are not enabled this causes the entire cimserver to crash.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Partners, this bug should be fixed in the latest RHEL 5.3 Snapshot. We believe that you have some interest in its correct functionality, so we're making a friendly request to send us some testing feedback.
If you have a chance to test it, please share with us your findings. If you have successfully VERIFIED the fix, please add PartnerVerified to the Bugzilla keywords, along with a description of the results. Thanks!
verified from partners, adding otherQA and SanityOnly, as I couldn't test this bug.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.