[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#770196: marked as done (unblock: libjsoncpp/0.6.0~rc2-3.1)



Your message dated Wed, 19 Nov 2014 17:59:32 +0100
with message-id <546CCC74.2070002@thykier.net>
and subject line Re: Bug#770196: unblock: libjsoncpp/0.6.0~rc2-3.1
has caused the Debian Bug report #770196,
regarding unblock: libjsoncpp/0.6.0~rc2-3.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.)


-- 
770196: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770196
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Dear release team.

Please unblock package libjsoncpp


The latest version in unstable fixes a serious conversion problem from
integer values to strings which caused crashes in reverse-dependencies
such as Minetest. The issue was already fixed upstream.

I am attaching the debdiff against the package in testing.

unblock libjsoncpp/0.6.0~rc2-3.1

Regards,

Markus
diff -Nru libjsoncpp-0.6.0~rc2/debian/changelog libjsoncpp-0.6.0~rc2/debian/changelog
--- libjsoncpp-0.6.0~rc2/debian/changelog	2012-05-09 19:58:00.000000000 +0200
+++ libjsoncpp-0.6.0~rc2/debian/changelog	2014-11-17 19:07:10.000000000 +0100
@@ -1,3 +1,12 @@
+libjsoncpp (0.6.0~rc2-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add value-as-string.patch. (Closes: #753560)
+    Fix conversion of numerical values to string that caused crashes in
+    reverse-dependencies such as Minetest.
+
+ -- Markus Koschany <apo@gambaru.de>  Mon, 17 Nov 2014 19:05:20 +0100
+
 libjsoncpp (0.6.0~rc2-3) unstable; urgency=low
 
   * Bug fix: "ftbfs with GCC-4.7", thanks to Matthias Klose (Closes: #667246).
diff -Nru libjsoncpp-0.6.0~rc2/debian/patches/series libjsoncpp-0.6.0~rc2/debian/patches/series
--- libjsoncpp-0.6.0~rc2/debian/patches/series	2011-11-21 18:24:33.000000000 +0100
+++ libjsoncpp-0.6.0~rc2/debian/patches/series	2014-11-17 19:07:10.000000000 +0100
@@ -1 +1,2 @@
 fix-SConstruct-soname.patch
+value-as-String.patch
diff -Nru libjsoncpp-0.6.0~rc2/debian/patches/value-as-String.patch libjsoncpp-0.6.0~rc2/debian/patches/value-as-String.patch
--- libjsoncpp-0.6.0~rc2/debian/patches/value-as-String.patch	1970-01-01 01:00:00.000000000 +0100
+++ libjsoncpp-0.6.0~rc2/debian/patches/value-as-String.patch	2014-11-17 19:07:10.000000000 +0100
@@ -0,0 +1,44 @@
+From: Matthew Bekkema <mbekkema97@gmail.com>
+Date: Mon, 17 Nov 2014 18:59:47 +0100
+Subject: value as String
+
+Fix return value of integers. Already fixed in the latest upstream version.
+This also fixes a Minetest crash when browsing the public serverlist.
+https://bugs.debian.org/733974
+
+Bug: https://bugs.debian.org/753560
+Forwarded: not-needed
+
+---
+ src/lib_json/json_value.cpp | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp
+index ff98f63..7151181 100644
+--- a/src/lib_json/json_value.cpp
++++ b/src/lib_json/json_value.cpp
+@@ -666,6 +666,7 @@ Value::asString() const
+    case booleanValue:
+       return value_.bool_ ? "true" : "false";
+    case intValue:
++      return valueToString( value_.int_ );
+    case uintValue:
+    case realValue:
+    case arrayValue:
+@@ -1423,14 +1424,14 @@ Value::isString() const
+ bool 
+ Value::isArray() const
+ {
+-   return type_ == nullValue  ||  type_ == arrayValue;
++   return type_ == arrayValue;
+ }
+ 
+ 
+ bool 
+ Value::isObject() const
+ {
+-   return type_ == nullValue  ||  type_ == objectValue;
++   return type_ == objectValue;
+ }
+ 
+ 

--- End Message ---
--- Begin Message ---
On 2014-11-19 17:20, Markus Koschany wrote:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
> 
> Dear release team.
> 
> Please unblock package libjsoncpp
> 
> 
> The latest version in unstable fixes a serious conversion problem from
> integer values to strings which caused crashes in reverse-dependencies
> such as Minetest. The issue was already fixed upstream.
> 
> I am attaching the debdiff against the package in testing.
> 
> unblock libjsoncpp/0.6.0~rc2-3.1
> 
> Regards,
> 
> Markus
> 

Unblocked, thanks.

~Niels

--- End Message ---

Reply to: