Commit b1b60142 authored by Nikias Bassen's avatar Nikias Bassen

xplist: Bail out when '.' is found while checking for ',' in double to string conversion

parent 49cbc8df
......@@ -117,6 +117,8 @@ static size_t dtostr(char *buf, size_t bufsize, double realval)
if (buf[i] == ',') {
buf[i] = '.';
break;
} else if (buf[i] == '.') {
break;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment