Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2123

neard segfault on m3ulcb on access operation on tag with empty record

    XMLWordPrintable

    Details

      Description

      On write operation to empty tag, neard exits following segfault:

      Core was generated by `/usr/libexec/nfc/neard -nd'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0 0x0000ffffbb4de960 in malloc_consolidate (av=0xffffbb5b8a50 <main_arena>) at /usr/src/debug/glibc/2.26-r0/git/malloc/malloc.c:4475
      4475 unlink(av, nextchunk, bck, fwd);
      (gdb) bt
      #0 0x0000ffffbb4de960 in malloc_consolidate (av=0xffffbb5b8a50 <main_arena>) at /usr/src/debug/glibc/2.26-r0/git/malloc/malloc.c:4475
      #1 0x0000ffffbb4e1490 in _int_malloc (av=av@entry=0xffffbb5b8a50 <main_arena>, bytes=bytes@entry=8192) at /usr/src/debug/glibc/2.26-r0/git/malloc/malloc.c:3710
      #2 0x0000ffffbb4e3a58 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at /usr/src/debug/glibc/2.26-r0/git/malloc/malloc.c:3437
      #3 0x0000ffffbb4d6af8 in _GI__open_memstream (bufloc=0xfffff54a22e8, bufloc@entry=0xfffff54a2348, sizeloc=0xfffff54a22f0, sizeloc@entry=0xfffff54a2350)
      at /usr/src/debug/glibc/2.26-r0/git/libio/memstream.c:83
      #4 0x0000ffffbb535434 in _GI__vsyslog_chk (pri=31, flag=1, fmt=0xaaaabcb3d340 "%s:%s() condition 0x%x", ap=...) at /usr/src/debug/glibc/2.26-r0/git/misc/syslog.c:167
      #5 0x0000aaaabcb28614 in ?? ()
      #6 0x0000ffffbb5f8340 in nlmsg_free () from /usr/lib/libnl-3.so.200

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            raquelm raquel medina
            Reporter:
            raquelm raquel medina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: