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

Invalid values like 100, 0 occurs in Stack during the execution. #1448

Closed
renardbebe opened this issue Nov 1, 2018 · 2 comments
Closed

Invalid values like 100, 0 occurs in Stack during the execution. #1448

renardbebe opened this issue Nov 1, 2018 · 2 comments

Comments

@renardbebe
Copy link

renardbebe commented Nov 1, 2018

Contract.zip

What is wrong?

  • When we executing our contract via py-evm, we find there are strange values occur in stack, and they cause the execution ended in INVALID opcode.
  • just run vm.execute_bytecode() with default settings, and the code = decode_hex(our Contract)
  • output computation._stack.values: "stack": [100, 100, 0], the correct value should be byte str like b'\x'

Just want to ask if someone has already figured out this issue and what are the main concerns here. Thanks a lot.

@carver
Copy link
Contributor

carver commented Dec 21, 2018

Did this one get confirmed/resolved? Just wanted to link it to the PR, if so, or reopen if not.

Also, I'll back-link to https://nvd.nist.gov/vuln/detail/CVE-2018-18920

@pipermerriam
Copy link
Member

I don't think it's real.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants