-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
[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
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels