File tree 2 files changed +23
-0
lines changed
2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,10 @@ Michiel De Backker <mail@backkem.me>
39
39
Rachel Chen <rachel@chens.email>
40
40
Robert Eperjesi <eperjesi@uber.com>
41
41
Ryan Gordon <ryan.gordon@getcruise.com>
42
+ Sam Lancia <sam.lancia@motorolasolutions.com>
42
43
Sean DuBois <seaduboi@amazon.com>
43
44
Sean DuBois <sean@siobud.com>
45
+ Shelikhoo <xiaokangwang@outlook.com>
44
46
Stefan Tatschner <stefan@rumpelsepp.org>
45
47
Steffen Vogel <post@steffenvogel.de>
46
48
Vadim <fffilimonov@yandex.ru>
Original file line number Diff line number Diff line change
1
+ package handshake
2
+
3
+ import (
4
+ "testing"
5
+ )
6
+
7
+ func FuzzDtlsHandshake (f * testing.F ) {
8
+ f .Fuzz (func (t * testing.T , data []byte ) {
9
+ h := & Handshake {}
10
+ if err := h .Unmarshal (data ); err != nil {
11
+ return
12
+ }
13
+ buf , err := h .Marshal ()
14
+ if err != nil {
15
+ t .Fatal (err )
16
+ }
17
+ if len (buf ) == 0 {
18
+ t .Fatal ("Zero buff" )
19
+ }
20
+ })
21
+ }
You can’t perform that action at this time.
0 commit comments