Closed tjanas closed 1 year ago
If there are more than MAX_PARAMS (currently 16) pairs in a .dcp file, stop parsing after the first 16 to avoid a buffer overflow.
This skips the values for the 16th pair.
You are correct, it was aborting mid-way through parsing the 16th pair. I think now it should be fixed.
Closed in favor of dynamic memory allocation.
If there are more than MAX_PARAMS (currently 16) pairs in a .dcp file, stop parsing after the first 16 to avoid a buffer overflow.