Commit 43068763 authored by Zbynek Michl's avatar Zbynek Michl

Fix of FF crashing when NPAPI returns an error

parent 43e094c4
......@@ -79,7 +79,7 @@ FB::VariantList DNSSECValidatorAPI::Validate(const std::string& domain, const ui
rv = ds_validate(domain.c_str(), options, optdnssrv.c_str(), &tmpptr, &ttl4, &ttl6);
reslist.push_back((std::string)tmpptr);
reslist.push_back(tmpptr ? (std::string)tmpptr : "");
reslist.push_back(ttl4);
reslist.push_back(ttl6);
reslist.push_back(rv);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment