mdns/fuzzer: Fix non-instrumentation test to reproduce fuzzer issues

Regression from 2893d7e21b skipped reading the packet causing issues when locally reproducing crashed found by the fuzzer


* Original commit: espressif/esp-idf@dae803335e
This commit is contained in:
David Cermak
2022-05-27 17:44:24 +04:00
committed by suren-gabrielyan-espressif
parent 8a120829e2
commit 5f6b6f9273
@@ -205,6 +205,7 @@ int main(int argc, char** argv)
// Note: parameter1 is a file (mangled packet) which caused the crash
file = fopen(argv[1], "r");
assert(file >= 0 );
len = fread(buf, 1, 1460, file);
fclose(file);
}