Go 1.18 supports fuzzing natively, so this patch migrates our fuzzing tests to make use of it.
4 lines
201 B
Plaintext
4 lines
201 B
Plaintext
go test fuzz v1
|
|
int(0)
|
|
[]byte("EHLO localhost\nMAIL FROM: <>\nRCPT TO: user@testserver\nDATA\nFrom: Mailer daemon <somewhere@horns.com>\nSubject: I've come to haunt you\n\nMuahahahaha\n\n\n.\nQUIT\n")
|