Cppcheck has detected a potential problem in a code like this:
float a, b, c;
int count = sscanf(data, "%f,%f,%f", &a, &b, &c);
It says that: "scanf without field width limits can crash with huge data". How is that possible? Is that a known bug in some sscanf implementations? I understand that the numbers may overflow (numerically), but how could the program crash? Is that a false positive in cppcheck?
I have found a similar question: scanf Cppcheck warning, but the answer is not completely satisfying. The answer mentions type safety, but that should not be an issue here.