Re:Microsoft Exchange stops passing mail due to bug on 1/1/22
by matsemann on Saturday January 01, 2022 @08:56AM
(#29758265)
Not exactly fuzzing, no.
Most tests are written with a fixed date, or now(). Instead, using now()+delta can help discover future bugs and give you some time to remedy the issue. Often annoying to write tests like that, though, without them breaking for unrelated/timing issues compared to a fixed value.
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22
by chmod600 on Saturday January 01, 2022 @02:28PM
(#29761745)
If you expect your software to exist in 6 months, then the input is entirely expected, and therefore not fuzzing.
It's a nice early-warning system for Y2K or Y2038-like problems.
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22
by fragmede on Saturday January 01, 2022 @08:56AM
(#29758266)
not especially. Fuzzing would be running the software with an API to test all of the possible dates.
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22
by jacquesm on Saturday January 01, 2022 @09:20AM
(#29758446)
No, that's exhaustive testing.
This is fuzzing: https://en.wikipedia.org/wiki/Fuzzing
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22
by azernik on Saturday January 01, 2022 @09:48AM
(#29758667)
A date 6 months in the future is not invalid or off; it is a normal input that the program is expected to receive in the future.
Fuzzing would be testing the date parser by passing it '25-44-2021' to see what breaks.
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22
by pimlottc on Saturday January 01, 2022 @10:00AM
(#29758840)
Fuzzing inputs don’t necessarily have to be invalid, just dynamically generated in order to probe program states not normally exercised by manually generated test data. Per Wikipedia: “providing invalid, unexpected or random data as inputs”
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22
by hughrr on Saturday January 01, 2022 @10:22AM
(#29759117)
Exactly my original point.
Invalid input is invalid input
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22
by 0x0000000 on Saturday January 01, 2022 @01:30PM
(#29761128)
Valid, random inputs is still fuzzing, which is what the person you are replying to was sharing with the quote from Wikipedia.
Inputs don't have to be invalid for it to be fuzzing.
Making sure it works at the business domain level is another thing entirely.