Commit a203928
committed
Merge bitcoin/bitcoin#30538: Doc: add a comment referencing past vulnerability next to where it was fixed
eb0724f doc: banman: reference past vuln due to unbounded banlist (Antoine Poinsot)
ad616b6 doc: net: mention past vulnerability as rationale to limit incoming message size (Antoine Poinsot)
4489117 doc: txrequest: point to past censorship vulnerability in tx re-request handling (Antoine Poinsot)
68ac954 doc: net_proc: reference past DoS vulnerability in orphan processing (Antoine Poinsot)
c02d9f6 doc: net_proc: reference past defect regarding invalid GETDATA types (Antoine Poinsot)
5e3d9f2 doc: validation: add a reference to historical header spam vulnerability (Antoine Poinsot)
Pull request description:
It is useful when reading code to have context about why it is written or behaves the way it does. Some instances in this PR may seem obvious but i think nonetheless offer important context to anyone willing to change (or review a change to) this code.
ACKs for top commit:
ryanofsky:
Code review ACK eb0724f. No changes since last review other than rebase
Tree-SHA512: 271902f45b8130d44153d793bc1096cd22b6ce05494e67c665a5bc45754e3fc72573d303ec8fc7db4098d473760282ddbf0c1cf316947539501dfd8d7d5b8828File tree
5 files changed
+20
-0
lines changed- src
5 files changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
761 | 761 | | |
762 | 762 | | |
763 | 763 | | |
| 764 | + | |
| 765 | + | |
764 | 766 | | |
765 | 767 | | |
766 | 768 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2425 | 2425 | | |
2426 | 2426 | | |
2427 | 2427 | | |
| 2428 | + | |
| 2429 | + | |
| 2430 | + | |
2428 | 2431 | | |
2429 | 2432 | | |
2430 | 2433 | | |
| |||
3068 | 3071 | | |
3069 | 3072 | | |
3070 | 3073 | | |
| 3074 | + | |
| 3075 | + | |
3071 | 3076 | | |
3072 | 3077 | | |
3073 | 3078 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4202 | 4202 | | |
4203 | 4203 | | |
4204 | 4204 | | |
| 4205 | + | |
| 4206 | + | |
| 4207 | + | |
| 4208 | + | |
4205 | 4209 | | |
4206 | 4210 | | |
4207 | 4211 | | |
| |||
0 commit comments