More bug fixes
This commit is contained in:
@@ -26,13 +26,38 @@ use std::str;
|
||||
const MAX_CHUNK: usize = 2 * 1024;
|
||||
|
||||
#[test]
|
||||
fn hpack_fuzz_failing_1() {
|
||||
fn hpack_failing_1() {
|
||||
FuzzHpack::new_reduced([
|
||||
12433181738898983662,
|
||||
14102727336666980714,
|
||||
6105092270172216412,
|
||||
16258270543720336235,
|
||||
], 1).run();
|
||||
14571479824075392697, 1933795017656710260, 3334564825787790363, 18384038562943935004,
|
||||
], 100).run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn hpack_failing_2() {
|
||||
FuzzHpack::new_reduced([
|
||||
93927840931624528, 7252171548136134810, 13289640692556535960, 11484086244506193733,
|
||||
], 100).run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn hpack_failing_3() {
|
||||
FuzzHpack::new_reduced([
|
||||
4320463360720445614, 7244328615656028238, 10856862580207993426, 5400459931473084625,
|
||||
], 61).run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn hpack_failing_4() {
|
||||
FuzzHpack::new_reduced([
|
||||
7199712575090753518, 8301132414711594706, 8069319383349578021, 5376546610900316263,
|
||||
], 107).run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn hpack_failing_5() {
|
||||
FuzzHpack::new_reduced([
|
||||
17764083779960581082, 12579311332935512090, 16627815831742045696, 13140603923739395199,
|
||||
], 101).run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -136,6 +161,8 @@ impl FuzzHpack {
|
||||
}
|
||||
}
|
||||
|
||||
encoded.push(buf);
|
||||
|
||||
// Decode
|
||||
for buf in encoded {
|
||||
decoder.decode(&buf.into(), |e| {
|
||||
|
||||
Reference in New Issue
Block a user