[med-svn] [Git][med-team/gdpc][master] 2 commits: buffer-overflow.patch: Initialize GlobalParam's angular correction members.
Yavor Doganov (@yavor-guest)
gitlab at salsa.debian.org
Sun Feb 8 18:38:51 GMT 2026
Yavor Doganov pushed to branch master at Debian Med / gdpc
Commits:
60e52079 by Yavor Doganov at 2026-02-08T20:20:40+02:00
buffer-overflow.patch: Initialize GlobalParam's angular correction members.
- - - - -
0a7d045e by Yavor Doganov at 2026-02-08T20:37:47+02:00
Restore original autopkgtest; remove -dbgsym packages from Depends (#1127425).
- - - - -
4 changed files:
- debian/changelog
- debian/patches/buffer-overflow.patch
- debian/tests/control
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,16 @@
+gdpc (2.2.5-18) unstable; urgency=medium
+
+ * Team upload.
+ * debian/patches/buffer-overflow.patch: Initialize GlobalParam's angular
+ correction members to avoid junk values which then lead to buffer
+ overflows when constructing the strings for the GtkEntry's.
+ * debian/tests/run-unit-test: Revert last change.
+ * debian/tests/control (Depends): Remove gdb and all -dbgsym packages
+ (Closes: #1127425). The latter are uninstallable for testing
+ migration and hopefully no longer needed if the fix above is fine.
+
+ -- Yavor Doganov <yavor at gnu.org> Sun, 08 Feb 2026 20:26:29 +0200
+
gdpc (2.2.5-17) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/buffer-overflow.patch
=====================================
@@ -3,7 +3,7 @@ Description: Fix global buffer overflow.
Debian-Bug: https://bugs.debian.org/982103
Author: Yavor Doganov <yavor at gnu.org>
Forwarded: no
-Last-Update: 2026-01-28
+Last-Update: 2026-02-08
---
--- gdpc.orig/colors.c
@@ -77,6 +77,16 @@ Last-Update: 2026-01-28
gint i;
params->StartedAlready = TRUE;
+@@ -898,6 +898,9 @@
+ params.kangle = 0.0;
+ params.imangle = 0.0;
+ params.jmangle = 0.0;
++ params.xc = 0.0;
++ params.yc = 0.0;
++ params.zc = 0.0;
+ params.numframe = 1;
+ params.pausecheck = FALSE;
+ params.drawcheck = TRUE;
--- gdpc.orig/init.c
+++ gdpc/init.c
@@ -108,7 +108,7 @@
=====================================
debian/tests/control
=====================================
@@ -1,10 +1,6 @@
Tests:
run-unit-test,
Depends:
- gdb,
- gdpc-dbgsym | libgtk-3-0t64-dbgsym,
- libc6-dbg,
- libglib2.0-0t64-dbgsym,
procps,
xauth,
xvfb,
=====================================
debian/tests/run-unit-test
=====================================
@@ -52,11 +52,9 @@ xvfb-run --auto-servernum \
sleep 10
check_n_cleanup
-env
-locale
xvfb-run --auto-servernum \
- gdb -batch -ex run -ex "bt full" --args /usr/bin/gdpc \
- m 2 d 10 erase xyz 2 3 4 5 md.test &
+ /usr/bin/gdpc m 2 d 10 erase xyz 2 3 4 5 md.test 2>&1 \
+ | tee --append test.log &
sleep 10
check_n_cleanup
View it on GitLab: https://salsa.debian.org/med-team/gdpc/-/compare/72521beb177ff8c21338aaecd331092e858fdafd...0a7d045e6f1be44c1e264ac6ad5a237dd86bb7c5
--
View it on GitLab: https://salsa.debian.org/med-team/gdpc/-/compare/72521beb177ff8c21338aaecd331092e858fdafd...0a7d045e6f1be44c1e264ac6ad5a237dd86bb7c5
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260208/b2181ad6/attachment-0001.htm>
More information about the debian-med-commit
mailing list