0023403: Crash when parsing an expression with lexical error
authorvsr <vsr@opencascade.com>
Fri, 7 Sep 2012 10:19:09 +0000 (14:19 +0400)
committervsr <vsr@opencascade.com>
Fri, 7 Sep 2012 10:19:09 +0000 (14:19 +0400)
commit9fe1ada84771d38e783d59edf9584816a39743dc
tree8f882db564af9945d53a60d0aebc78ed4ecbd023
parent0c5acd2705a101a1dce45e0c274639a4885c2d72
0023403: Crash when parsing an expression with lexical error

Fix double freeing of memory in case when lexical error is detected by parser:
- revert previous fix, instead nullify the global buffer after its freeing in ExprIntrp_stop_string().

Added new QA command CR23403 and test case
src/ExprIntrp/ExprIntrp.lex
src/QABugs/QABugs_11.cxx [changed mode: 0644->0755]
tests/bugs/demo/CR23410
tests/bugs/fclasses/CR23403 [new file with mode: 0755]
tests/bugs/grids.list