Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't let DSKIP overrun memory #23

Closed
iafisher opened this issue Dec 13, 2018 · 1 comment
Closed

Don't let DSKIP overrun memory #23

iafisher opened this issue Dec 13, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@iafisher
Copy link
Owner

This shouldn't work:

DSKIP(0xFFFF)
DLABEL(N)
INTEGER(42)

SET(R1, N)
LOAD(R2, 0, R1)

(should be a runtime error)

@iafisher iafisher added the bug Something isn't working label Dec 13, 2018
@iafisher
Copy link
Owner Author

Might actually be able to catch this during typechecking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant