[Opendnssec-develop] Enforcer validating conf.xml but signer doesn't because of segfault?

Jerry Lundström jerry at opendnssec.org
Mon Jan 16 09:29:03 UTC 2012


Hi,

There is a bit of strangeness in the signer, it does not validate the conf.xml file but apparently the enforcer do. The comment in the code is that it segfaults, is this still true?

branches/OpenDNSSEC-1.3/signer/src/parser/confparser.c:

/*
    better not check: if not correct, this will segfault.
    status = xmlRelaxNGValidateDoc(rngctx,doc);
    if (status != 0) {
        ods_log_error("[%s] cfgfile validation failed %s", parser_str,
            cfgfile);
        xmlRelaxNGFreeValidCtxt(rngctx);
        xmlRelaxNGFree(schema);
        xmlRelaxNGFreeParserCtxt(rngpctx);
        xmlFreeDoc(rngdoc);
        xmlFreeDoc(doc);
        return ODS_STATUS_RNG_ERR;
    }
*/

--
Jerry Lundström - OpenDNSSEC Developer
http://www.opendnssec.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.opendnssec.org/pipermail/opendnssec-develop/attachments/20120116/6bef33b7/attachment.bin>


More information about the Opendnssec-develop mailing list