parser: fix abi rule core dump

abi rule skipping is core dumping on some bad abi rule file names.

[ 112s] # Failed test './simple_tests//abi/bad_10.sd: Produced core dump (signal 6): abi testing - abi path quotes in <> with spaces' [ 112s] # at simple.pl line 126. [ 112s] [ 112s] # Failed test './simple_tests//abi/bad_11.sd: Produced core dump (signal 6): abi testing - abi path quotes in <> with spaces' [ 112s] # at simple.pl line 126. [ 112s] [ 112s] # Failed test './simple_tests//abi/bad_12.sd: Produced core dump (signal 6): abi testing - abi path quotes in <> with spaces' [ 112s] # at simple.pl line 126.

This is caused by calling processquoted without ensuring that that the length being processed is valid.

Signed-off-by: John Johansen john.johansen@canonical.com

Merge request reports

Loading