Package: release.debian.org
Control: affects -1 + src:libskk
X-Debbugs-Cc: lib...@packages.debian.org
User: release.debian....@packages.debian.org
Usertags: pu
Tags: bookworm
X-Debbugs-Cc: by...@debian.org
Severity: normal

Dear Debian Stable Release Managers,

[ Reason ]
I am looking to fix https://bugs.debian.org/1081915 in Debian
Bookworm (Debian 12). A grammar error in the json data file will
trigger crash when the program is executed.

[ Impact ]
This bug will cause crash when /usr/bin/skk is executed, details
are discussed in https://bugs.debian.org/1081915 .

[ Tests ]
Manually tested.

[ Risks ]
Minimal. The fix has been merged upstream, and is now present
in Debian Testing/Unstable.

[ 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 ]
See the attached debdiff for full changes.

[ Other info ]
Please let me know if you have any questions.

Regards,
Boyuan Yang
diff -Nru libskk-1.0.5/debian/changelog libskk-1.0.5/debian/changelog
--- libskk-1.0.5/debian/changelog	2021-01-09 13:26:52.000000000 -0500
+++ libskk-1.0.5/debian/changelog	2024-09-19 16:19:13.000000000 -0400
@@ -1,3 +1,11 @@
+libskk (1.0.5-2+deb12u1) bookworm; urgency=medium
+
+  * debian/patches/a2936e865fcc00e6e0c0bfc6c1d62db19e49fe74.patch:
+    Cherry-pick upstream patch to fix invalid escape in json file that
+    triggered crash. (Closes: #1081915)
+
+ -- Boyuan Yang <by...@debian.org>  Thu, 19 Sep 2024 16:19:13 -0400
+
 libskk (1.0.5-2) unstable; urgency=medium
 
   * Rebuild before Debian 11 release.
diff -Nru libskk-1.0.5/debian/patches/a2936e865fcc00e6e0c0bfc6c1d62db19e49fe74.patch libskk-1.0.5/debian/patches/a2936e865fcc00e6e0c0bfc6c1d62db19e49fe74.patch
--- libskk-1.0.5/debian/patches/a2936e865fcc00e6e0c0bfc6c1d62db19e49fe74.patch	1969-12-31 19:00:00.000000000 -0500
+++ libskk-1.0.5/debian/patches/a2936e865fcc00e6e0c0bfc6c1d62db19e49fe74.patch	2024-09-19 16:19:01.000000000 -0400
@@ -0,0 +1,34 @@
+From a2936e865fcc00e6e0c0bfc6c1d62db19e49fe74 Mon Sep 17 00:00:00 2001
+From: Mamoru TASAKA <mtas...@fedoraproject.org>
+Date: Thu, 22 Aug 2024 00:53:12 +0900
+Subject: [PATCH] Fix invalid escape on json file
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fix the following invalid escape on
+rules/default/rom-kana/default.json:
+
+/usr/share/libskk/rules/default/rom-kana/default.json:121:47: 閫������具�押��: unexpected
+character `,', expected string constant
+
+Fixes: #89
+Bug-Debian: https://bugs.debian.org/1081915
+Applied-Upstream: https://github.com/ueno/libskk/commit/a2936e865fcc00e6e0c0bfc6c1d62db19e49fe74
+---
+ rules/default/rom-kana/default.json | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/rules/default/rom-kana/default.json b/rules/default/rom-kana/default.json
+index 6ddfce6a..68dcff9b 100644
+--- a/rules/default/rom-kana/default.json
++++ b/rules/default/rom-kana/default.json
+@@ -108,7 +108,7 @@
+             "myi": ["", "��踴��" ],
+             "myo": ["", "��踴��" ],
+             "myu": ["", "��踴��" ],
+-            "n\'": ["", "���" ],
++            "n'": ["", "���" ],
+             "na": ["", "���" ],
+             "ne": ["", "���" ],
+             "ni": ["", "���" ],
diff -Nru libskk-1.0.5/debian/patches/series libskk-1.0.5/debian/patches/series
--- libskk-1.0.5/debian/patches/series	1969-12-31 19:00:00.000000000 -0500
+++ libskk-1.0.5/debian/patches/series	2024-09-19 16:18:38.000000000 -0400
@@ -0,0 +1 @@
+a2936e865fcc00e6e0c0bfc6c1d62db19e49fe74.patch

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to