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:
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
R�0-
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
�0�{Шp(�'}��F
|
||||
@@ -0,0 +1 @@
|
||||
ト���
|
||||
Binary file not shown.
Binary file not shown.
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.
@@ -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%�
|
||||
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�{�uLLLLLOLLLLLLL���
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
}怱縫児繝チa怠クtツリァ�Pィサル04
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
ヒc�
|
||||
@@ -0,0 +1 @@
|
||||
ƒΑa‘†¬D°�␍η½ Έ���«™=•;0izZXΩ™Κ6�ν_η�Υώ>ύh�{|4¶^iW�δ �ρ€γƒΑa‘†¬]D°C%�
|
||||
@@ -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 @@
|
||||
}™†�…„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 @@
|
||||
�0+;;�I5j�@;x��m�
|
||||
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
�
|
||||
]C%�
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
;±e}û"�0ô{ëuêxn¸Ý‹cêÏé�ôÌ^šP*
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
乫�+
|
||||
@@ -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���
|
||||
@@ -0,0 +1 @@
|
||||
��!9��dD�D��]�4�}�
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
m�
|
||||
@@ -0,0 +1 @@
|
||||
ゾC%�
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
0��
|
||||
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
�
|
||||
棏γャ]C%�
|
||||
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 @@
|
||||
+�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
Reference in New Issue
Block a user