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

fix panic on bad tx sender #195

Merged
merged 1 commit into from
Dec 18, 2014
Merged

fix panic on bad tx sender #195

merged 1 commit into from
Dec 18, 2014

Conversation

ebuchman
Copy link
Contributor

Transaction pool would panic on processing a tx with a bad sig.

I can push an example branch with a script showing the panic but it required exporting a BadSig function from chain/types/transaction.go for convenience (of course, an attacker could just hand craft the rlp tx bytes himself to trigger this). I suppose I should add a transaction_pool_test.go with a bunch of handcrafted malicious txs. Here's the fix in the meantime. Have I missed something, or was there no signature check up to now?

Note the panic was on the GetAccount, which ultimately triggered https://github.com/ethereum/go-ethereum/blob/develop/trie/trie.go#L299

@ebuchman
Copy link
Contributor Author

Ok see test in #196

@obscuren obscuren merged commit 7c24cd7 into ethereum:poc8 Dec 18, 2014
acud pushed a commit to acud/go-ethereum that referenced this pull request Mar 1, 2018
[Store] Allow parameters to be set via cli and env vars
ngtuna added a commit to ngtuna/tomochain that referenced this pull request Sep 27, 2018
AusIV pushed a commit to NoteGio/go-ethereum that referenced this pull request Nov 12, 2020
maoueh pushed a commit to streamingfast/go-ethereum that referenced this pull request Aug 13, 2021
* syncservice: update ethsign enum

* types: fix build
tony-ricciardi pushed a commit to tony-ricciardi/go-ethereum that referenced this pull request Jan 20, 2022
jonkofee pushed a commit to jonkofee/go-ethereum that referenced this pull request Jan 25, 2023
Mark startup later for the unclean shutdown tracker
jsign added a commit to jsign/go-ethereum that referenced this pull request Apr 4, 2023
* fix compilation error

Signed-off-by: Ignacio Hagopian <[email protected]>

* print root in hex

Signed-off-by: Ignacio Hagopian <[email protected]>

* verkle/stage2: print elapsed time

Signed-off-by: Ignacio Hagopian <[email protected]>

* formatting

Signed-off-by: Ignacio Hagopian <[email protected]>

* Remove note-to-self comments in Frenglish

---------

Signed-off-by: Ignacio Hagopian <[email protected]>
Co-authored-by: Guillaume Ballet <[email protected]>
s1na pushed a commit to s1na/go-ethereum that referenced this pull request Dec 2, 2024
…form-for-devnet

finalise terraform for xdc devnet
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

Successfully merging this pull request may close these issues.

2 participants