Commit 6b10fdc4 authored by Randy Sommerfeld's avatar Randy Sommerfeld
Browse files

Ignore malformed I:lines

parent d3909a32
Pipeline #2552 passed with stage
in 9 minutes and 11 seconds
......@@ -354,10 +354,9 @@ function read_conf_config(conf) {
HLines.push(new HLine(arg[1],arg[3]));
break;
case "I":
if (!arg[5])
if (!arg[5] || !parseInt(arg[5]))
break;
ILines.push(new ILine(arg[1],arg[2],arg[3],arg[4],
arg[5]));
ILines.push(new ILine(arg[1],arg[2],arg[3],arg[4],parseInt(arg[5])));
break;
case "K":
if (!arg[2])
......
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