The OperationTimeout is broken. After analysis, the pointer advances
twice after 'T' and the while loop inspects the current character
instead of the next.
Patch by Chris Poblete
diff --git a/src/lib/wsman-xml-serialize.c b/src/lib/wsman-xml-serialize.c
index f72fc54..0c9c77a 100644
--- a/src/lib/wsman-xml-serialize.c
+++ b/src/lib/wsman-xml-serialize.c
@@ -1745,10 +1745,9 @@
debug("Wrong begining of duration");
goto DONE;
}
- while (*t++) {
+ while (*++t) {
if (*t == 'T') {
time_handeled = 1;
- t++;
continue;
}
v = strtol(t, &e, 10);