Uploaded image for project: 'OpenDNSSEC TRAC Import'
  1. OpenDNSSEC TRAC Import
  2. ODSTRACIMPORT-19

finalizer fails with larger zones

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Signer

      Description

      This is completely related to bug ODSTRACIMPORT-18, because is the same bug. finalizer tries to save the lines before the SOA record on a fixed size array. If the number of lines is larger than the allocated space, a SEGFAULT is received. Attached is a patch that solves the problem by scanning the file, finding the SOA record and print it. Then starts from the beginning of the input file, skipping the line where the SOA record was. May be it would be useful to print the SOA record and the corresponding RRSIG record(s) together, will test that later.

        Attachments

          Activity

            People

            Assignee:
            matthijs Matthijs Mekking
            Reporter:
            sebastian@nzrs.net.nz Sebastian Castro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: