Browse Source

change fuzz.cc, because mime_decode_message() has 4 parameters now.

master
Roker 1 year ago
parent
commit
6489c489a9
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/fuzz.cc

+ 3
- 2
src/fuzz.cc View File

@ -59,8 +59,9 @@ int main(int argc, char** argv)
{
const std::string f = slurp(argv[a]);
message* m = nullptr;
auto status = mime_decode_message(f.c_str(), f.size(), &m);
std::cerr << "Status: " << status << "\n";
bool has_pEp_msg = false;
const PEP_STATUS status = mime_decode_message(f.c_str(), f.size(), &m, &has_pEp_msg);
std::cerr << "Status: " << status << ". has_pEp_message=" << has_pEp_msg << ".\n";
free_message(m);
}
return 0;


Loading…
Cancel
Save