#616 fix possible stack overflow in interpreter

open-fixed
nobody
Program (402)
5
2008-03-09
2008-02-06
Bert Wesarg
No

the check for stack overflow in pushSymVal() should be done before writing to the stack

Discussion

<< < 1 2 (Page 2 of 2)
  • Tony Balinski

    Tony Balinski - 2008-05-14

    Logged In: YES
    user_id=618141
    Originator: NO

    A "first round" of this was committed in March. It made use of PUSH and POP macros much more consistent, but did not add the "PUSH/POP look like functions" fix Bert told us about (using a do{}while(0) to allow correct behaviour with if statements, and requiring a trailing semicolon). Can we have that final fixed stuff now please?

    Tony

     
  • Bert Wesarg

    Bert Wesarg - 2008-05-14

    Logged In: YES
    user_id=122956
    Originator: YES

    I have no problem with committing part two. I just thought that this commit wouldn't fit into the current phase of the release plan.

     
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks