Your message dated Sat, 06 Sep 2025 12:14:57 +0100 with message-id <165032e5317517556dd7fd8cf24843112a3fb6ac.camel@adam-barratt.org.uk> and subject line Closing p-u requests for fixes included in 13.1 has caused the Debian Bug report #1111621, regarding trixie-pu: package remind/05.03.07-1 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.) -- 1111621: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111621 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: trixie-pu: package remind/05.03.07-1
- From: Jochen Sprickerhof <jspricke@debian.org>
- Date: Wed, 20 Aug 2025 10:04:54 +0200
- Message-id: <175567709435.23443.8275660169043685011.reportbug@fenchel>
Package: release.debian.org Severity: normal Tags: trixie X-Debbugs-Cc: remind@packages.debian.org Control: affects -1 + src:remind User: release.debian.org@packages.debian.org Usertags: pu [ Reason ] Potential buffer overflow leading to a segfault. [ Impact ] remind crashes in some configuration. [ Tests ] remind has an extensive test suite which by chance found the bug and passes now. I also ran some manual tests on my data. [ Risks ] low. remind is not widely used and this is rather a corner case, also the patch is rather simple. [ Checklist ] [X] *all* changes are documented in the d/changelog [X] I reviewed all changes and I approve them [X] attach debdiff against the package in (old)stable [X] the issue is verified as fixed in unstable [ Changes ] The variable is truncated to the buffer length before printing.diff --git a/debian/changelog b/debian/changelog index cc75c03..aef3024 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +remind (05.03.07-1+deb13u1) trixie; urgency=medium + + * fixes buffer overflow in DUMPVARS (Closes: #1111581) + + -- Jochen Sprickerhof <jspricke@debian.org> Wed, 20 Aug 2025 09:58:01 +0200 + remind (05.03.07-1) unstable; urgency=medium * New upstream version 05.03.07 diff --git a/debian/patches/0002-Fix-buffer-overflow-in-DUMPVARS.patch b/debian/patches/0002-Fix-buffer-overflow-in-DUMPVARS.patch new file mode 100644 index 0000000..1bdf9e2 --- /dev/null +++ b/debian/patches/0002-Fix-buffer-overflow-in-DUMPVARS.patch @@ -0,0 +1,29 @@ +From: Jochen Sprickerhof <jspricke@debian.org> +Date: Wed, 20 Aug 2025 09:56:39 +0200 +Subject: Fix buffer overflow in DUMPVARS + +--- + src/var.c | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/src/var.c b/src/var.c +index 7989cd5..c81d8f3 100644 +--- a/src/var.c ++++ b/src/var.c +@@ -711,9 +711,14 @@ int DoDump(ParsePtr p) + DumpSysVarByName(DBufValue(&buf)+1); + } else { + v = FindVar(DBufValue(&buf), 0); +- DBufValue(&buf)[VAR_NAME_LEN] = 0; +- if (!v) fprintf(ErrFp, "%s %s\n", ++ if (!v) { ++ if (DBufLen(&buf) > VAR_NAME_LEN) { ++ /* Truncate over-long variable name */ ++ DBufValue(&buf)[VAR_NAME_LEN] = 0; ++ } ++ fprintf(ErrFp, "%s %s\n", + DBufValue(&buf), UNDEF); ++ } + else { + fprintf(ErrFp, "%s ", v->name); + PrintValue(&(v->v), ErrFp); diff --git a/debian/patches/series b/debian/patches/series index 73c5c9f..19d789e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ use-system-libjsonparser.diff +0002-Fix-buffer-overflow-in-DUMPVARS.patch
--- End Message ---
--- Begin Message ---
- To: 1109572-done@bugs.debian.org, 1110100-done@bugs.debian.org, 1110170-done@bugs.debian.org, 1110707-done@bugs.debian.org, 1110723-done@bugs.debian.org, 1110737-done@bugs.debian.org, 1110855-done@bugs.debian.org, 1110958-done@bugs.debian.org, 1110977-done@bugs.debian.org, 1111036-done@bugs.debian.org, 1111075-done@bugs.debian.org, 1111122-done@bugs.debian.org, 1111225-done@bugs.debian.org, 1111231-done@bugs.debian.org, 1111256-done@bugs.debian.org, 1111257-done@bugs.debian.org, 1111308-done@bugs.debian.org, 1111361-done@bugs.debian.org, 1111422-done@bugs.debian.org, 1111425-done@bugs.debian.org, 1111470-done@bugs.debian.org, 1111602-done@bugs.debian.org, 1111603-done@bugs.debian.org, 1111604-done@bugs.debian.org, 1111608-done@bugs.debian.org, 1111621-done@bugs.debian.org, 1111644-done@bugs.debian.org, 1111646-done@bugs.debian.org, 1111672-done@bugs.debian.org, 1111675-done@bugs.debian.org, 1111684-done@bugs.debian.org, 1111794-done@bugs.debian.org, 1111798-done@bugs.debian.org, 1111852-done@bugs.debian.org, 1111860-done@bugs.debian.org, 1111917-done@bugs.debian.org, 1111938-done@bugs.debian.org, 1111960-done@bugs.debian.org, 1111972-done@bugs.debian.org, 1111991-done@bugs.debian.org, 1112021-done@bugs.debian.org, 1112029-done@bugs.debian.org, 1112038-done@bugs.debian.org, 1112054-done@bugs.debian.org, 1112096-done@bugs.debian.org, 1112099-done@bugs.debian.org, 1112140-done@bugs.debian.org, 1112196-done@bugs.debian.org, 1112215-done@bugs.debian.org, 1112237-done@bugs.debian.org, 1112272-done@bugs.debian.org, 1112287-done@bugs.debian.org, 1112308-done@bugs.debian.org, 1112312-done@bugs.debian.org, 1112323-done@bugs.debian.org, 1112335-done@bugs.debian.org, 1112355-done@bugs.debian.org, 1112367-done@bugs.debian.org, 1112483-done@bugs.debian.org, 1112529-done@bugs.debian.org, 1112533-done@bugs.debian.org, 1112543-done@bugs.debian.org
- Subject: Closing p-u requests for fixes included in 13.1
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 06 Sep 2025 12:14:57 +0100
- Message-id: <165032e5317517556dd7fd8cf24843112a3fb6ac.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 13.1 Hi, Each of the updates referenced by these requests was included in today's 13.1 point release for trixie. Regards, Adam
--- End Message ---