Your message dated Wed, 07 Apr 2021 14:08:58 +0000
with message-id <[email protected]>
and subject line unblock pd-purest-json
has caused the Debian Bug report #986559,
regarding unblock: pd-purest-json/1.4.3-2
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 [email protected]
immediately.)
--
986559: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986559
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock
Please unblock package pd-purest-json
at the beginning of march 2021, a bug was discovered in the
pd-purest-json package that prevents it from reading JSON-files.
the package itself is mainly used for interacting with RESTful APIs from
within the Pure Data programming language (package "puredata"), for
which the broken functionality does not really matter.
however, the "other task" provided by this package is "working with JSON
data", for which the task of reading JSON-file could be considered
crucial.
for whatever reasons the bug-report has not been escalated to RC yet.
as you can see from the debdiff, the change is rather minimal and
trivial.
due to the nature of the Pure Data ecosystem, virtually no
"applications" are packaged, making the "pd-purest-json" package a leaf
package.
as such, i don't expect any direct impact on any other Debian package
whatsoever.
cheers and thanks for all the good work.
unblock pd-purest-json/1.4.3-2
diff -Nru pd-purest-json-1.4.3/debian/changelog
pd-purest-json-1.4.3/debian/changelog
--- pd-purest-json-1.4.3/debian/changelog 2019-12-09 22:47:59.000000000
+0100
+++ pd-purest-json-1.4.3/debian/changelog 2021-03-08 13:14:11.000000000
+0100
@@ -1,3 +1,9 @@
+pd-purest-json (1.4.3-2) unstable; urgency=medium
+
+ * Patch to fix reading of json-data (Closes: #984787)
+
+ -- IOhannes m zmölnig (Debian/GNU) <[email protected]> Mon, 08 Mar 2021
13:14:11 +0100
+
pd-purest-json (1.4.3-1) unstable; urgency=medium
* New upstream version 1.4.3
diff -Nru pd-purest-json-1.4.3/debian/patches/json_encode_read.patch
pd-purest-json-1.4.3/debian/patches/json_encode_read.patch
--- pd-purest-json-1.4.3/debian/patches/json_encode_read.patch 1970-01-01
01:00:00.000000000 +0100
+++ pd-purest-json-1.4.3/debian/patches/json_encode_read.patch 2021-03-08
13:14:11.000000000 +0100
@@ -0,0 +1,17 @@
+Description: fix check whether read JSON-data is valid
+Author: IOhannes m zmölnig
+Bug: https://github.com/residuum/PuRestJson/issues/60
+Last-Update: 2021-03-08
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- pd-purest-json.orig/src/json-encode.c
++++ pd-purest-json/src/json-encode.c
+@@ -298,7 +298,7 @@
+ }
+ jobj = json_tokener_parse(json_string);
+ freebytes(json_string, (st.st_size + 1) * sizeof(char));
+- if (jobj == NULL) {
++ if (jobj != NULL) {
+ jenc_load_json_data(jenc, jobj);
+ json_object_put(jobj);
+ } else {
diff -Nru pd-purest-json-1.4.3/debian/patches/series
pd-purest-json-1.4.3/debian/patches/series
--- pd-purest-json-1.4.3/debian/patches/series 2019-12-09 22:47:59.000000000
+0100
+++ pd-purest-json-1.4.3/debian/patches/series 2021-03-08 13:14:11.000000000
+0100
@@ -0,0 +1 @@
+json_encode_read.patch
--- End Message ---
--- Begin Message ---
Unblocked.
--- End Message ---