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

Bug: WriteCall Fails if CapList.len == 1 #160

Open
Latrasis opened this issue Jun 10, 2019 · 0 comments
Open

Bug: WriteCall Fails if CapList.len == 1 #160

Latrasis opened this issue Jun 10, 2019 · 0 comments
Assignees
Labels
A-code Area: Code C-bug Category: Bug T-evm Target system: Ethereum EVM

Comments

@Latrasis
Copy link
Member

From @17451k:

Test S() should fail when trying to write to an address below its cap from the kernel-evm1/test/withoutentryproc/syscalls/write.js file is successfully failing with SysCallResponse.WRITEFAILURE, like it is supposed to do, but if we change the write capability from the incorrect (0x8001, 0) to the correct (0x8000, 0) one the test will still fail. It will succeed only if we add some other write capability to the CapArray.

It seems to be that write system calls are failing if there is only one write capability in the CapArray, whether correct or not.

@Latrasis Latrasis added A-code Area: Code T-evm Target system: Ethereum EVM labels Jun 10, 2019
@Latrasis Latrasis self-assigned this Jun 10, 2019
@Latrasis Latrasis added the C-bug Category: Bug label Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-code Area: Code C-bug Category: Bug T-evm Target system: Ethereum EVM
Projects
None yet
Development

No branches or pull requests

1 participant