occt: master 2a54ebbf
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
apn | master | 2014-05-29 11:05:47 | master cae42e78 | |
Affected Issues | 0024897: Possibility of uncontrolled exit if scanner fails in ExprIntrp | |||
Changeset | 0024897: Possibility of uncontrolled exit if scanner fails in ExprIntrp Macro YY_FATAL_ERROR() is defined in ExprIntrp.lex in order to have exception instead of program exit in case of scanner error. Fixed-length string buffers are replaced by TCollection_AsciiString to avoid buffer overflow. Some code refactoring: declarations of functions moved to header file, unused global declarations and variables removed, compiler warnings fixed or disabled, obsolete EDL file removed. Test case for issue CR24897 Correction of MSVC compiler warning when scanner is generated using Flex 2.5.35 on Linux |
|||
mod - src/ExprIntrp/ExprIntrp.cxx | Diff File | |||
mod - src/ExprIntrp/ExprIntrp.lex | Diff File | |||
mod - src/ExprIntrp/ExprIntrp.yacc | Diff File | |||
rm - src/ExprIntrp/ExprIntrp_CMPLRS.edl | Diff File | |||
mod - src/ExprIntrp/ExprIntrp_yaccintrf.cxx | Diff File | |||
mod - src/ExprIntrp/ExprIntrp_yaccintrf.hxx | Diff File | |||
mod - src/ExprIntrp/ExprIntrp_yacclex.cxx | Diff File | |||
mod - src/ExprIntrp/FILES | Diff File | |||
mod - src/StepFile/step.lex | Diff File | |||
add - tests/bugs/fclasses/bug24897 | Diff File |