Closed cloudy-bot closed 5 years ago
input Attachment: test.in
line list file with formatting problem Attachment: linelist_h.old
r10493 avoids the SEGV, and prints as helpful an error message as is possible given the input to findline()
Milestone renamed
reported by: @CloudyLex
The following causes a segfault:
The linelist file has a leading space, a common error when lines are copy/pated from the output.
The segfault:
The array index is way too large. We need to detect and exit gracefully from this user input format error.
Migrated from https://www.nublado.org/ticket/335