Your message dated Sat, 08 Feb 2020 14:23:35 +0000 with message-id <a894a0233c2d264936953d7a69507573c4a5742a.camel@adam-barratt.org.uk> and subject line Closing bugs included in 9.12 has caused the Debian Bug report #946570, regarding stretch-pu: package libpst/0.6.59-1+deb9u1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 946570: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946570 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: stretch-pu: package libpst/0.6.59-1+deb9u1
- From: Paul Wise <pabs@debian.org>
- Date: Wed, 11 Dec 2019 11:02:49 +0800
- Message-id: <0696cda241b59a87401bd1b18c9bf960e640f62f.camel@debian.org>
Package: release.debian.org Severity: normal Tags: stretch User: release.debian.org@packages.debian.org Usertags: pu The version of libpst in stretch does not use AC_USE_SYSTEM_EXTENSIONS, which means that _GNU_SOURCE is not defined before including unistd.h, which means that get_current_dir_name is not defined and so gcc presumes it returns an integer, which means that the returned pointer gets truncated on some architectures and later when the pointer gets freed a program using libpst could crash. This issue is warned about by gcc: https://buildd.debian.org/status/fetch.php?pkg=libpst&arch=amd64&ver=0.6.59-1%2Bb1&stamp=1487989748&raw=0 libpst.c: In function 'pst_getcwd': libpst.c:295:11: warning: implicit declaration of function 'get_current_dir_name' [-Wimplicit-function-declaration] cwd = get_current_dir_name(); ^~~~~~~~~~~~~~~~~~~~ libpst.c:295:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] cwd = get_current_dir_name(); ^ The build logs indicate that it was fixed in the version in buster: https://buildd.debian.org/status/fetch.php?pkg=libpst&arch=amd64&ver=0.6.71-0.1&stamp=1521798059&raw=0 The package is RFA and this bug is affecting us at work, so I took the liberty of committing to the Debian git repo and submitting this pu. https://salsa.debian.org/debian/libpst/commit/a141fb154e97660e16455689a00d1781858215f3 I have attached the debdiff for this fix. -- bye, pabs https://wiki.debian.org/PaulWisediff -Nru libpst-0.6.59/debian/changelog libpst-0.6.59/debian/changelog --- libpst-0.6.59/debian/changelog 2013-05-19 08:50:03.000000000 +0800 +++ libpst-0.6.59/debian/changelog 2019-12-11 09:59:25.000000000 +0800 @@ -1,3 +1,9 @@ +libpst (0.6.59-1+deb9u1) stretch; urgency=medium + + * Fix detection of get_current_dir_name and return truncation + + -- Paul Wise <pabs@debian.org> Wed, 11 Dec 2019 09:59:25 +0800 + libpst (0.6.59-1) unstable; urgency=low * [ec26e2d0] Imported Upstream version 0.6.59 diff -Nru libpst-0.6.59/debian/patches/07-use-system-extensions.patch libpst-0.6.59/debian/patches/07-use-system-extensions.patch --- libpst-0.6.59/debian/patches/07-use-system-extensions.patch 1970-01-01 08:00:00.000000000 +0800 +++ libpst-0.6.59/debian/patches/07-use-system-extensions.patch 2019-12-11 09:59:25.000000000 +0800 @@ -0,0 +1,17 @@ +Description: use AC_USE_SYSTEM_EXTENSIONS to define _GNU_SOURCE + so get_current_dir_name is detected correctly and + its return value is not truncated, breaking free calls. +Origin: upstream +From: http://hg.five-ten-sg.com/libpst/ +Last-Update: 2019-12-11 +Applied-Upstream: changeset: 328:c507af52515a +--- a/configure.in ++++ b/configure.in +@@ -4,6 +4,7 @@ + AC_CONFIG_HEADER([config.h]) + AM_INIT_AUTOMAKE + AC_CANONICAL_HOST ++AC_USE_SYSTEM_EXTENSIONS + + # + # 1. Remember that version-info is current:revision:age, and age <= current. diff -Nru libpst-0.6.59/debian/patches/series libpst-0.6.59/debian/patches/series --- libpst-0.6.59/debian/patches/series 2013-02-21 01:04:13.000000000 +0800 +++ libpst-0.6.59/debian/patches/series 2019-12-11 09:59:25.000000000 +0800 @@ -1 +1,2 @@ 06-ld-no-add-needed.patch +07-use-system-extensions.patchAttachment: signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
- To: 887324-done@bugs.debian.org, 902487-done@bugs.debian.org, 933263-done@bugs.debian.org, 935728-done@bugs.debian.org, 935970-done@bugs.debian.org, 939364-done@bugs.debian.org, 939897-done@bugs.debian.org, 939907-done@bugs.debian.org, 939967-done@bugs.debian.org, 940246-done@bugs.debian.org, 940477-done@bugs.debian.org, 940714-done@bugs.debian.org, 940715-done@bugs.debian.org, 941126-done@bugs.debian.org, 941169-done@bugs.debian.org, 941350-done@bugs.debian.org, 941452-done@bugs.debian.org, 942024-done@bugs.debian.org, 942110-done@bugs.debian.org, 942839-done@bugs.debian.org, 942840-done@bugs.debian.org, 942841-done@bugs.debian.org, 943352-done@bugs.debian.org, 943564-done@bugs.debian.org, 943606-done@bugs.debian.org, 944186-done@bugs.debian.org, 944233-done@bugs.debian.org, 944282-done@bugs.debian.org, 944794-done@bugs.debian.org, 944866-done@bugs.debian.org, 945821-done@bugs.debian.org, 945944-done@bugs.debian.org, 946159-done@bugs.debian.org, 946185-done@bugs.debian.org, 946558-done@bugs.debian.org, 946560-done@bugs.debian.org, 946570-done@bugs.debian.org, 946654-done@bugs.debian.org, 946704-done@bugs.debian.org, 946824-done@bugs.debian.org, 946907-done@bugs.debian.org, 947204-done@bugs.debian.org, 947255-done@bugs.debian.org, 947747-done@bugs.debian.org, 947834-done@bugs.debian.org, 948219-done@bugs.debian.org, 948391-done@bugs.debian.org, 948401-done@bugs.debian.org, 948465-done@bugs.debian.org, 948649-done@bugs.debian.org, 948704-done@bugs.debian.org, 948715-done@bugs.debian.org, 948730-done@bugs.debian.org, 948737-done@bugs.debian.org, 948898-done@bugs.debian.org, 949838-done@bugs.debian.org, 949853-done@bugs.debian.org, 949900-done@bugs.debian.org, 949905-done@bugs.debian.org, 949907-done@bugs.debian.org, 949909-done@bugs.debian.org, 950156-done@bugs.debian.org, 950256-done@bugs.debian.org, 950281-done@bugs.debian.org, 950309-done@bugs.debian.org
- Subject: Closing bugs included in 9.12
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 08 Feb 2020 14:23:35 +0000
- Message-id: <a894a0233c2d264936953d7a69507573c4a5742a.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 9.12 Hi, Each of the uploads referred to by these bugs was included in today's oldstable point release. Regards, Adam
--- End Message ---