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

Bug#771720: unblock: octave/3.8.2-4



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Dear Release Team,

Please unblock package octave. The changelog and debdiff follow.

octave (3.8.2-4) unstable; urgency=medium

  * mkoctfile-infinite-loop.patch: fix infinite loop of mkoctfile -M on
      platforms where char is unsigned. (Closes: #770192)

 -- Sébastien Villemot <sebastien@debian.org>  Mon, 01 Dec 2014 21:25:52 +0100
 
unblock octave/3.8.2-4

Thanks,

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594
diff -Nru octave-3.8.2/debian/changelog octave-3.8.2/debian/changelog
--- octave-3.8.2/debian/changelog	2014-10-10 21:03:49.000000000 +0200
+++ octave-3.8.2/debian/changelog	2014-12-01 21:26:56.000000000 +0100
@@ -1,3 +1,10 @@
+octave (3.8.2-4) unstable; urgency=medium
+
+  * mkoctfile-infinite-loop.patch: fix infinite loop of mkoctfile -M on
+    platforms where char is unsigned. (Closes: #770192)
+
+ -- Sébastien Villemot <sebastien@debian.org>  Mon, 01 Dec 2014 21:25:52 +0100
+
 octave (3.8.2-3) unstable; urgency=medium
 
   [ Rafael Laboissiere ]
diff -Nru octave-3.8.2/debian/patches/mkoctfile-infinite-loop.patch octave-3.8.2/debian/patches/mkoctfile-infinite-loop.patch
--- octave-3.8.2/debian/patches/mkoctfile-infinite-loop.patch	1970-01-01 01:00:00.000000000 +0100
+++ octave-3.8.2/debian/patches/mkoctfile-infinite-loop.patch	2014-12-01 21:23:24.000000000 +0100
@@ -0,0 +1,24 @@
+Description: Fix infinite loop of mkoctfile -M on platforms where char is unsigned
+Author: Edmund Grimley Evans <edmund.grimley.evans@gmail.com>
+Bug: https://savannah.gnu.org/bugs/index.php?43640
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770192
+Reviewed-by: Sébastien Villemot <sebastien@debian.org>
+Last-Update: 2014-12-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/mkoctfile.in.cc
++++ b/src/mkoctfile.in.cc
+@@ -70,11 +70,11 @@ get_line (FILE *fp)
+ {
+   static std::vector<char> buf (100);
+   unsigned int idx = 0;
+-  char c;
++  int c;
+ 
+   while (true)
+     {
+-      c = static_cast<char> (gnulib::fgetc (fp));
++      c = gnulib::fgetc (fp);
+       if (c == '\n' || c == EOF)
+         break;
+       if (buf.size () <= idx)
diff -Nru octave-3.8.2/debian/patches/series octave-3.8.2/debian/patches/series
--- octave-3.8.2/debian/patches/series	2014-08-14 12:06:45.000000000 +0200
+++ octave-3.8.2/debian/patches/series	2014-12-01 21:26:52.000000000 +0100
@@ -9,3 +9,4 @@
 always-build-octave-jar.patch
 hdf5-flags.patch
 hdf5-mkoctfile.patch
+mkoctfile-infinite-loop.patch

Attachment: signature.asc
Description: Digital signature


Reply to: