[syslinux] extlinux 6.03 serial console not responding to input
Patrick Masotta
masottaus at yahoo.com
Wed May 20 06:34:09 PDT 2015
>>>
My question is whether the syslinux framework provides any
way to flag errors in the configuration
file. The existing parsing code does not
appear to make any attempt to detect or flag errors.
Otherwise, this atoi bug could have been
caught much more easily -- there should have
been a syntax error thrown by the parsing
code.
<<<
>>>
Thanks, but I'm not talking about
debugging. I'm talking about some way for
syslinux to tell the user when there's a
syntax error in the configuration
file.
<<<
Your patch considers only a very particular case.
A systematic approach for "correctly" parsing a configuration file is not so simple.
It minimally requires a regular expression parser for format error detection plus
conversion & boundary checking when necessary. AFAIK this is not implemented yet;
Best,
Patrick
More information about the Syslinux
mailing list