File openwsman-2.1.0-invoke_fix.patch of Package openwsman
--- src/plugins/cim/sfcc-interface.c
+++ src/plugins/cim/sfcc-interface.c
@@ -353,11 +353,15 @@
{
hscan_t hs;
hnode_t *hn;
+ selector_entry *sentry = NULL;
hash_t * args = client->method_args;
hash_scan_begin(&hs, args);
while ((hn = hash_scan_next(&hs))) {
+ sentry = (selector_entry*)hnode_get(hn);
+ if(NULL != sentry)
+ if(NULL != sentry->entry.text)
CMAddArg(argsin, (char *) hnode_getkey(hn),
- (char *) hnode_get(hn), CMPI_chars);
+ (char *) sentry->entry.text, CMPI_chars);
}
}