mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-03 01:10:17 +00:00
fuzz: add a new fuzzer to test serialization/deserialization code (#1876)
Autodetecting the needed buffer size is quite complex (especially with float/double values) so it is mandatory to properly check for `ndpi_snprintf` truncation. These issues have been undetected so far probably because the default buffer is big enough for all common cases. Add an example of usage of `ndpi_deserialize_clone_all()` (taken from `ntopng`)
This commit is contained in:
parent
eea9956430
commit
6d00a9e0bd
144 changed files with 564 additions and 78 deletions
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
R<EFBFBD>0-
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
<0F>0<EFBFBD>{Шp(<28>'}<7D><>F
|
||||
|
|
@ -0,0 +1 @@
|
|||
ト<EFBFBD><EFBFBD><EFBFBD>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
<EFBFBD>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
„K!i @`¨1צְ ¨GH we<ׁ<>7@¿|£<>™׳:vה/א&mַ}§9‹ױ‘©צמ÷p%ײפ׳ױ
|
||||
|
|
@ -0,0 +1 @@
|
|||
®0ПОЩ
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,3 @@
|
|||
ƒ
|
||||
ú}ppú}
|
||||
í_çƒÁa‘†¬]C%<25>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
0<>{<7B>uLLLLLOLLLLLLL<4C><4C><EFBFBD>
|
||||
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
}怱縫児繝チa怠クtツリァ<EFBE98>Pィサル04
|
||||
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
<EFBFBD>c<EFBFBD>
|
||||
|
|
@ -0,0 +1 @@
|
|||
ƒΑa‘†¬D°<14>
η½ Έ<07><><EFBFBD>«™=•;0izZXΩ™Κ6<>ν_η<5F>Υώ>ύh<CF8D>{|4¶^iW<69>δ <>ρ€γƒΑa‘†¬]D°C%<25>
|
||||
|
|
@ -0,0 +1 @@
|
|||
ًلل
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
}™†<E284A2>…„D–u6ΤRώ<>›«Η].…ηzρν
|
||||
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
в„
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
<0F>0+;;<3B>I5j<35>@;x<><08>m<EFBFBD>
|
||||
Binary file not shown.
|
|
@ -0,0 +1,2 @@
|
|||
<EFBFBD>
|
||||
]C%<25>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
;±e}û"<0F>0ô{ëuêxn¸Ý‹cêÏé<C38F>ôÌ^šP*
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
乫<EFBFBD>+
|
||||
|
|
@ -0,0 +1 @@
|
|||
*˙
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
0<>LLLLLL<4C><4C><EFBFBD>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<EFBFBD><EFBFBD>!9<><39>dD<>D<EFBFBD><44>]<5D>4<EFBFBD>}<7D>
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
m<>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<EFBFBD>]C%<25>
|
||||
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
0ォレ
|
||||
Binary file not shown.
|
|
@ -0,0 +1,2 @@
|
|||
<EFBFBD>
|
||||
淲<EFBFBD>銭]C%<25>
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
παώπ
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
+<13>fン+
|
||||
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue