Package: tree Version: 2.2.1-1 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Dear Maintainer, The tree package currently produces malformed JSON/XML output when encountering directories that do not exist. The output is missing the "type" field in JSON. XML output has no open tag for the name field and a random close tag for "unknown" This was discovered and fixed in Ubuntu. The attached patch (by Simon Chopin) fixes the issue by ensuring printinfo is called even in error cases, which properly initialises the output structure Bug in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/tree/+bug/2113790 Please consider applying this patch to the package in Debian Thanks, Nadzeya - -- System Information: Debian Release: forky/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.12.41+deb13-amd64 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN 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 tree depends on: ii libc6 2.41-12 tree recommends no packages. tree suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEWXXohTherGJuZ++eGvSnX+dpvGgFAmj2C8AACgkQGvSnX+dp vGiWdBAAi0E32rqATU/uaFbsT8ui5Qin3Ba+nB+K0P2dV8W40+o5SmXVFkY7aVlR MF+UwKkLRi0oKeset1zfGRsAEpBZhcOdfSJY2cidas5RvS+tVZLFnJZVO7U8RAUv lbcN1D+TQJRhAY7FGSzam9pf7JCp6gPeYugpRXrk4TCxvr0B7fK4d8nOPlbrq1GS Y/w8rxpkApVrQEKuEh1wHjIQ43nhenRCmEkJxiu/3XuIRlq2nwVfxCXWddwyshLs q9BiBE81+F3lnezYfouDv98oZ847izPl6g9/y8SGuk5XXiCJ+/udqMS/aXY8yvhB Vc+oVghlvTPct97DgfDBe/GJJP0f5Bb090a1vq2o5YctbeRToFJM9GlA8l1SFOu0 erWf+c63Oi7BDsmVXzfsjnBPrtNfvHudPf/OMMSKTlowO2eZY8+UlhakfxiaPLY3 1rReC12OdW8TQJuTmEl7TKw4W91qE97u+feGNyZliaaaYlNuM0FbK6Zybisag3kb 8t9jRqBT8HfQbBXWundk2uBqoPHellKFaLU+8wvWstJnB/mPx7in9II0YPf2UMdz pgRrcGvPdkqAMjY6kbGsCZ4btKvs9FewdmWArzA+yRagUiTdXuYajLD4duWOuUyi 7R/sR+IgvEKjGVzglU+H+m8S0duG6oz3LuSX89AaWS5vHdZlGuQ= =e/9p -----END PGP SIGNATURE-----
0001-tree-list-call-printinfo-on-error-cases-too.patch
Description: application/mbox

