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