#338: Check bounds for encoding parameters
-------------------------+--------------------------------------------------
Reporter: smimram | Owner: admin
Type: Bugs | Status: new
Priority: 1 | Milestone: 1.0 beta
Component: Liquidsoap | Version:
Resolution: | Keywords:
Mac: 1 | Linux: 1
Netbsd: 1 | Other: 1
Freebsd: 1 |
-------------------------+--------------------------------------------------
Changes (by mrpingouin):
* milestone: => 1.0 beta
Comment:
I totally agree. It's easy to do so I'll just point where/how it should be
done: in src/lang/lang_parser.mly we have dedicated parsers for each
%xxx(...) syntax. We should simply check values there and raise a
Syntax_error. Another exception with more info would be good, but then it
should be caught and properly reported with position information like
other errors in the toplevel parsing functions of lang.ml.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/338#comment:1>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac