To execute CIM call safely, need to check if WBEM CIM client is available before execution.
New API WBEMClientSBLIM.isAvailable() is expected.
Even though a new API like isAvailable() can return the current state of the Client, it is possible that between the API returning true and the subsequent API call, another thread could close the Client. Does this change your need for the isAvailable() API?
Discussed this with a couple other CIM developers, and isActive was deemed to be a better choice for the name of the new API - available seems to indicate the object is available in memory, active seems to indicate the client is useable.
Patch sent for community review. During a 2 week period any
exploiter may comment on the patch, request changes or turn it
down completely (with good reason). For the time being the patch is part of the "Experimental" branch in CVS.
Patch against HEAD
The community review has completed and we received no substantial criticism. Therefore the patch has been approved and merged into the "HEAD" branch. The next release will pick it up.
The patch was picked up by release 2.2.0 and will therefore be closed.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.