(f *testing.F)
| 238 | } |
| 239 | |
| 240 | func FuzzNotificationResponse(f *testing.F) { |
| 241 | f.Add([]byte{0, 0, 0, 1, 'c', 'h', 0, 'p', 0}) |
| 242 | f.Add([]byte{}) |
| 243 | f.Fuzz(func(t *testing.T, data []byte) { |
| 244 | var msg pgproto3.NotificationResponse |
| 245 | msg.Decode(data) // must not panic |
| 246 | }) |
| 247 | } |
| 248 | |
| 249 | func FuzzParameterDescription(f *testing.F) { |
| 250 | f.Add([]byte{0, 1, 0, 0, 0, 23}) |