#1074045 coreutils: ptx has some form of memory corruption (with -b?) that makes it list the whole input contiguously after other lines

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
наб
Date:
2024-06-22 09:24:04 UTC
Severity:
normal
#1074045#5
Date:
2024-06-22 09:21:38 UTC
From:
To:
Dear Maintainer,

$ printf '%s\n' 'GNU  coreQutilities' 'QQvore      gamer utilitiesQ' '' '  ' 'q   ' |  ptx -w122 -fb <(printf 'Q \n\t\n')
                                                          GNU   coreQutilities QQvore      gamer utilitiesQ     q
                                   GNU  coreQutilities QQvore   gamer utilitiesQ     q
                                                                GNU  coreQutilities QQvore      gamer utilitiesQ     q
             GNU  coreQutilities QQvore      gamer utilitiesQ   q
                                                   GNU  coreQ   utilities QQvore      gamer utilitiesQ     q
                        GNU  coreQutilities QQvore      gamer   utilitiesQ     q
                                       GNU  coreQutilities QQ   vore      gamer utilitiesQ     q

It's very obvious to see that
(a) GNU core utilities is not on the same line as vore gamer utilities
(b) they are nonetheless listed on the same line in the output
(c) as is the entire rest of the input
(d) despite the -b file containing all whitespace

This is either buffer mismanagement or just straight up ignoring -b(?)
Either way.

Best,