[TO BE VERIFIED]
In the XPLPro::_parseXxx() methods, the parameter parsing seems to be incorrect:
current is
for (int i = 1; i < parameter; i++) {
while (inBuffer[pos] != ',' && inBuffer[pos] != 0) {
pos++;
}
pos++; // skip terminator, position pointer at the start of next parameter
}
but the terminator is skipped as if it were a separator, taking the pointer beyond it where it may not find another termination.
This should be correct:
for (int i = 1; i < parameter; i++) {
while (inBuffer[pos] != ',' && inBuffer[pos] != 0) {
pos++;
}
if(inBuffer[pos] != 0) pos++; // skip terminator, position pointer at the start of next parameter
}
[TO BE VERIFIED]
In the
XPLPro::_parseXxx()methods, the parameter parsing seems to be incorrect:current is
but the terminator is skipped as if it were a separator, taking the pointer beyond it where it may not find another termination.
This should be correct: