Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 656789 Details for
Bug 883030
CMPIBroker->GetInstance called from a CMPI provider changes empty arrays.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Experimental patch
pegasus-test.patch (text/plain), 1013 bytes, created by
Jan Safranek
on 2012-12-03 16:36:27 UTC
(
hide
)
Description:
Experimental patch
Filename:
MIME Type:
Creator:
Jan Safranek
Created:
2012-12-03 16:36:27 UTC
Size:
1013 bytes
patch
obsolete
>diff -up pegasus/src/Pegasus/ProviderManager2/CMPI/CMPISCMOUtilities.cpp.test pegasus/src/Pegasus/ProviderManager2/CMPI/CMPISCMOUtilities.cpp >--- pegasus/src/Pegasus/ProviderManager2/CMPI/CMPISCMOUtilities.cpp.test 2012-12-03 16:48:34.469370334 +0100 >+++ pegasus/src/Pegasus/ProviderManager2/CMPI/CMPISCMOUtilities.cpp 2012-12-03 16:47:41.000000000 +0100 >@@ -358,12 +358,6 @@ CMPIrc CMPISCMOUtilities::scmoValue2CMPI > data->value.uint64 = 0; > data->state = CMPI_goodValue; > >- //Check for NULL CIMValue >- if( scmoValue == 0 ) >- { >- data->state = CMPI_nullValue; >- return CMPI_RC_OK; >- } > > if (type & CMPI_ARRAY) > { >@@ -398,6 +392,12 @@ CMPIrc CMPISCMOUtilities::scmoValue2CMPI > } > else > { >+ //Check for NULL CIMValue >+ if( scmoValue == 0 ) >+ { >+ data->state = CMPI_nullValue; >+ return CMPI_RC_OK; >+ } > // Check for encpsulated type, which need special handling > if (type&CMPI_ENC) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 883030
: 656789