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

p2p/discover: fix out-of-bounds slicing for chunked neighbors packets #966

Merged
merged 1 commit into from
May 13, 2015

Conversation

fjl
Copy link
Contributor

@fjl fjl commented May 13, 2015

The code assumed that Table.closest always returns at least 13 nodes.
This is not true for small tables (e.g. during bootstrap).

The code assumed that Table.closest always returns at least 13 nodes.
This is not true for small tables (e.g. during bootstrap).
@fjl fjl force-pushed the fixup-discover-chunked-neighbors branch from 1a7e805 to 251846d Compare May 13, 2015 19:49
fjl added a commit that referenced this pull request May 13, 2015
p2p/discover: fix out-of-bounds slicing for chunked neighbors packets
@fjl fjl merged commit f7fdb4d into ethereum:develop May 13, 2015
@fjl fjl removed the in progress label May 13, 2015
@fjl fjl deleted the fixup-discover-chunked-neighbors branch May 29, 2015 23:40
tony-ricciardi pushed a commit to tony-ricciardi/go-ethereum that referenced this pull request Jan 20, 2022
tony-ricciardi pushed a commit to tony-ricciardi/go-ethereum that referenced this pull request Jan 20, 2022
* started working on builtin network flags

* lint

* Don't aggregate epochSnarkData on non-epoch blocks (ethereum#961)

* don't aggregate epochSnarkData on non-epoch blocks

* uses existing proposal instead of re-fetching

* change log levels for two side chain scenarios (ethereum#966)

* Shorter timeouts for testing key rotation (ethereum#954)

* working

* Use Gold.mint() instead of state.AddBalance() for epoch rewards (ethereum#965)

The rationale behind this, is the `Gold.mint()` emits an event, and thus
is traceable, while `state.AddBalance()` is not. Making it really hard
to figure out how much GoldToken was minted and to whom.

* combining these

* compiles

* Restore master as circle-ci branch (ethereum#967)

* Update version to v1.0.0-unstable (ethereum#970)

* Add Mergify config and remove bulldozer config (ethereum#977)

* Fix missing reference to libbls_crypto causing linking errors on iOS (ethereum#978)

* Change proxy and proxied checks (ethereum#971)

* Delete gitignore so libs are included (ethereum#980)

* working???

* cleanup

* cleanup

* cleanup

* write genesis correctly

* trying to get unit tests working

* changing this

* lint

* added mainnet info (execpt bootnode?)

* added bootnode

* fixing tests

* lint

* fix

* fixing attach command

* removing snapshots

Co-authored-by: Kobi Gurkan <[email protected]>
Co-authored-by: Victor "Nate" Graf <[email protected]>
Co-authored-by: Mariano Cortesi <[email protected]>
Co-authored-by: J M Rossy <[email protected]>
Co-authored-by: Jean Regisser <[email protected]>
Co-authored-by: Javier Cortejoso <[email protected]>
Co-authored-by: Connor McEwen <[email protected]>
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.

1 participant