Uploaded image for project: 'OpenDNSSEC'
  1. OpenDNSSEC
  2. OPENDNSSEC-776

signer crash on missing addns.xml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Signer
    • Labels:
      None

      Description

      While adding a zone with a DNS output adapter type I failed to set output adapter file.

      Thus this would default to .../var.../signed/example.com
      instead of etc/opendnssec/addns.xml

      Of course parsing failed. Though on exit the signer would crash trying to free the output adapter acl list. which should not exist at that point. valgrind also shows a lot of invalid reads.

      • we need to fix this crash
      • require -o if -q is given on zone add.
        Also
        zone add accepts -o THIS_IS_NOT_AN_ADAPTER_TYPE
        and I think the signer might be case sensitive for adapter type? needs check.

        Attachments

          Activity

            People

            Assignee:
            hodar Hoda Rohani
            Reporter:
            yuri Yuri Schaeffer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: