Package: gawk
Version: 1:5.1.0-1
Severity: normal
Dear Maintainer,
If I run the following in my shell:
echo "1,1" | gawk -M -F, ' { $3 = $1 + $2; $0 = $0; print $0;}'
I get the error:
free(): double free detected in tcache 2
Aborted
Please let me know if any additional debugging is needed.
Thank you.
Kumar
-- System Information:
Debian Release: 11.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.18.0-0.bpo.1-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gawk depends on:
ii libc6 2.31-13+deb11u3
ii libgmp10 2:6.2.1+dfsg-1+deb11u1
ii libmpfr6 4.1.0-3
ii libreadline8 8.1-1
ii libsigsegv2 2.13-1
gawk recommends no packages.
Versions of packages gawk suggests:
pn gawk-doc <none>