Package: unbound
Version: 1.17.1-2
Version: 1.18.0-2
Severity: normal

Dear Maintainer,

In trying to reduce another bug, I got the following:

$ { printf '%s\n' 'UBCT1 local_datas' ';; a' 'abc.def. 3600 in txt testupa' ';; 
b'; } | sudo socat - UNIX-CONNECT:/run/unbound.ctl
error parsing local-data at line 1 position 4 ';; a': Syntax error, could not 
parse the RR
error parsing local-data at line 3 position 4 ';; b': Syntax error, could not 
parse the RR
error parsing local-data at line 4 position 0 '': Syntax error, could not parse 
the RR
error parsing local-data at line 5 position 0 '': Syntax error, could not parse 
the RR
error parsing local-data at line 6 position 0 '': Syntax error, could not parse 
the RR
error parsing local-data at line 7 position 0 '': Syntax error, could not parse 
the RR
error parsing local-data at line 8 position 0 '': Syntax error, could not parse 
the RR
error parsing local-data at line 9 position 0 '': Syntax error, could not parse 
the RR
error parsing local-data at line 10 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 11 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 12 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 13 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 14 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 15 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 16 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 17 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 18 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 19 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 20 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 21 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 22 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 23 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 24 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 25 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 26 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 27 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 28 position 0 '': Syntax error, could not 
parse the RR
...
error parsing local-data at line 56466 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 56467 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 56468 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 56469 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 56470 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 56471 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 56472 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 56473 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 56474 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 56475 position 0 '': Syntax error, could not 
parse the RR
error parsing local-data at line 56476 position 0 '': Syntax error, could not 
parse the RR
^C


strace -f capturing this moment attached.

Appending printf '\4\n';
(as stolen from strace unbound-control local_datas)
makes it work correctly.

Nevertheless, "probably dont do that", as they say.

Best,
наб


-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-9-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages unbound depends on:
ii  adduser                    3.134
ii  init-system-helpers        1.65.2
ii  libc6                      2.36-9+deb12u1
ii  libevent-2.1-7             2.1.12-stable-8
ii  libnghttp2-14              1.52.0-1
ii  libprotobuf-c1             1.4.1-1+b1
ii  libpython3.11              3.11.2-6
ii  libssl3                    3.0.9-1
ii  libsystemd0                252.12-1~deb12u1
ii  sysvinit-utils [lsb-base]  3.06-4

Versions of packages unbound recommends:
ii  dns-root-data  2023010101

Versions of packages unbound suggests:
ii  apparmor  3.0.8-3
ii  openssl   3.0.9-1

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to