Commit e3d4413
QUIC: fix Malformed Packet exception with small transport parameters
Since draft 27 the minimum transport parameter size can be smaller than
4 due to variable-length encoding. With ngtcp2-29-dsb.pcapng, the
active_connection_id_limit at the end covers only three bytes for
example. Even though the correct length is normally set later, the early
attempt to read four bytes resulted in an Malformed Packet exception.
Change-Id: I9ec6ec6c66ce7a993f2fcfdc987e35966dc809ac
Ping-Bug: 13881
Reviewed-on: https://code.wireshark.org/review/37483
Petri-Dish: Peter Wu <[email protected]>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <[email protected]>1 parent 933067a commit e3d4413
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6867 | 6867 | | |
6868 | 6868 | | |
6869 | 6869 | | |
6870 | | - | |
| 6870 | + | |
6871 | 6871 | | |
6872 | 6872 | | |
6873 | 6873 | | |
| |||
0 commit comments