I am uploading a NMU to fix this. Please find the debdiff attached.
diff -Nru denemo-2.6.39/debian/changelog denemo-2.6.39/debian/changelog --- denemo-2.6.39/debian/changelog 2025-02-14 21:05:17.000000000 +0000 +++ denemo-2.6.39/debian/changelog 2025-04-09 18:55:42.000000000 +0000 @@ -1,3 +1,10 @@ +denemo (2.6.39-0.2) unstable; urgency=high + + * Non-maintainer upload + * Fix stack smashing on s390x (Closes: #1102503) + + -- Bastian Germann <b...@debian.org> Wed, 09 Apr 2025 18:55:42 +0000 + denemo (2.6.39-0.1) unstable; urgency=medium * Non-maintainer upload diff -Nru denemo-2.6.39/debian/patches/0005-fix-stack-smashing.patch denemo-2.6.39/debian/patches/0005-fix-stack-smashing.patch --- denemo-2.6.39/debian/patches/0005-fix-stack-smashing.patch 1970-01-01 00:00:00.000000000 +0000 +++ denemo-2.6.39/debian/patches/0005-fix-stack-smashing.patch 2025-04-09 18:42:36.000000000 +0000 @@ -0,0 +1,16 @@ +Origin: upstream, c111f4339a9f4f3238676cc1391fe9ef194a1679 +From: Richard Shann <rich...@rshann.plus.com> +Date: Wed, 9 Apr 2025 17:24:18 +0100 +Subject: Fix bug #67002: Fix Stack overflow +--- +--- a/src/export/exportlilypond.c ++++ b/src/export/exportlilypond.c +@@ -3638,7 +3638,7 @@ init_lilypond_buffer (void) + gint num, i; + for (num=0; old_dirs[num];num++) + ; +- const gchar *dirs[num+1]; ++ const gchar *dirs[num+2]; + dirs[0] = get_system_data_dir (); + for (i=1; i<num+2; i++) + dirs[i] = old_dirs [i-1]; diff -Nru denemo-2.6.39/debian/patches/series denemo-2.6.39/debian/patches/series --- denemo-2.6.39/debian/patches/series 2025-02-14 21:05:17.000000000 +0000 +++ denemo-2.6.39/debian/patches/series 2025-04-09 18:43:42.000000000 +0000 @@ -2,6 +2,7 @@ 0002-Prevent-incompatible-pointer-types.patch 0003-Use-full-path-for-testing.patch 0004-Change-fonts-path.patch +0005-fix-stack-smashing.patch 0007-Install-soundfont-into-correct-directory.patch 0008-Use-xdg-open-as-default-browser.patch 0012-Move-icon-from-pixmaps-to-icons-directory.patch