Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 524
    • Issues 524
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 105
    • Merge requests 105
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #151

Closed
Open
Created Mar 15, 2018 by Carsten Strotmann@cstrotm

arpaname segfault on OpenBSD 6.2 i386

Summary

the command "arpaname" segfaults and writes a core file when used

OpenBSD 6.2 i386 BIND 9.12.0

Steps to reproduce

call arpaname with an ipv4 or ipv6 address

What is the current bug behavior?

arpaname segfauls and writes a core dump file

# arpaname 2001:db8::1
Segmentation fault (core dumped)

What is the expected correct behavior?

arpaname prints the arpaname of the ip address

Relevant logs and/or screenshots

(gdb) bt
#0  malloc (size=65536) at /usr/src/lib/libc/stdlib/malloc.c:1165
#1  0x024efde9 in __smakebuf (fp=0x22453798) at /usr/src/lib/libc/stdio/makebuf.c:62
#2  0x024ef113 in __swsetup (fp=0x22453798) at /usr/src/lib/libc/stdio/wsetup.c:73
#3  0x024dccea in __vfprintf (fp=0x22453798, fmt0=0x358d8000 "%X.%X.", ap=0xcf7c2468 "\001") at /usr/src/lib/libc/stdio/vfprintf.c:461
#4  0x024dfabf in vfprintf (fp=0x22453798, fmt0=0x358d8000 "%X.%X.", ap=0xcf7c2468 "\001") at /usr/src/lib/libc/stdio/vfprintf.c:267
#5  0x024c08e9 in fprintf (fp=0x22453798, fmt=0x358d8000 "%X.%X.") at /usr/src/lib/libc/stdio/fprintf.c:45
#6  0x158d8d1d in main (argc=Cannot access memory at address 0x0
) at arpaname.c:38
Assignee
Assign to
Time tracking