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

Signer segfault for 6 or more -v options

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.9
    • Fix Version/s: 1.3.10
    • Component/s: Signer
    • Labels:
    • Environment:

      Debian Squeeze.

      Description

      When running ods-signerd -d -vvvvv -1 there is no problem; adding another -v option (or even more) causes a Segmentation Fault.

      Probable cause is supplying wrong arguments to a vprintf().

      GDB dump follows.

      Program received signal SIGSEGV, Segmentation fault.
      [Switching to Thread 0x7ffff3b1f700 (LWP 21819)]
      0x00007ffff6b59d8a in vfprintf () from /lib/libc.so.6
      (gdb) up
      #1 0x00007ffff6b7b3f2 in vsnprintf () from /lib/libc.so.6
      (gdb) up
      #2 0x00000000004150d0 in ods_log_vmsg (priority=7, t=0x430e9c "debug ",
      s=0x433ac8 "[%s] file %s not modified since (file %u, mem %u)",
      args=0x7ffff3b1ec70) at shared/log.c:218
      218 vsnprintf(message, sizeof(message), s, args);

        Attachments

          Activity

            People

            Assignee:
            matthijs Matthijs Mekking
            Reporter:
            vanrein Rick van Rein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 minutes
                5m
                Remaining:
                Remaining Estimate - 5 minutes
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified