Fix build stack traceback in DebugLib #7 #11

Closed
Enyby wants to merge 3 commits from patch-4 into master
Enyby commented 2018-07-02 01:57:53 +00:00 (Migrated from github.com)

If create huge table with a lot items (> 28000) then additional op code for store c out of range of op codes and this loop crash.
This PR add case for OP_SETLIST for skip next op if in it stored c.
OP_SETLIST not AMode OP
70cb74b4d6/src/core/org/luaj/vm2/Lua.java (L319)
70cb74b4d6/src/core/org/luaj/vm2/Lua.java (L335)

If create huge table with a lot items (> 28000) then additional op code for store `c` out of range of op codes and this loop crash. This PR add case for OP_SETLIST for skip next op if in it stored `c`. OP_SETLIST not AMode OP https://github.com/luaj/luaj/blob/70cb74b4d65851ef69240d35b58d9f8d20a73ed1/src/core/org/luaj/vm2/Lua.java#L319 https://github.com/luaj/luaj/blob/70cb74b4d65851ef69240d35b58d9f8d20a73ed1/src/core/org/luaj/vm2/Lua.java#L335
headcr4sh commented 2018-09-13 10:03:53 +00:00 (Migrated from github.com)

I had to rebase the master branch onto some missing changes that never made it from CVS into Git.
This renders your PR useless, I am afraid. Could you rebase your changes onto the current master branch again, please?

I had to rebase the master branch onto some missing changes that never made it from CVS into Git. This renders your PR useless, I am afraid. Could you rebase your changes onto the current master branch again, please?

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-autonomous-connection/luaj#11