Details
Description
char sig[1024] = {0}
...
if (1 == sscanf(line, "%254[[);/" RANGEBASE "]%n", sig+1, &bytes_read)) {
I think the sscanf should be %1023 rather than %254
...
if (1 == sscanf(line, "%254[[);/" RANGEBASE "]%n", sig+1, &bytes_read)) {
I think the sscanf should be %1023 rather than %254