This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch ubuntu/trusty
in repository freexl.

commit d5d0ea7dd7cd2bbb44b0b67a7fed4756f30e6fda
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Thu Nov 12 22:05:46 2015 +0100

    Add patch to fix regression introduced by afl-vulnerabilitities.patch.
---
 debian/changelog                                      |  6 ++++++
 debian/patches/afl-vulnerabilitities-regression.patch | 18 ++++++++++++++++++
 debian/patches/series                                 |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c104c69..12e41d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+freexl (1.0.0g-1ubuntu0.14.04.2) UNRELEASED; urgency=medium
+
+  * Add patch to fix regression introduced by afl-vulnerabilitities.patch.
+
+ -- Bas Couwenberg <sebas...@debian.org>  Thu, 12 Nov 2015 22:04:49 +0100
+
 freexl (1.0.0g-1ubuntu0.14.04.1) trusty-security; urgency=high
 
    * SECURITY UPDATE: Fix multiple vulnerabilities allowing denial of service
diff --git a/debian/patches/afl-vulnerabilitities-regression.patch 
b/debian/patches/afl-vulnerabilitities-regression.patch
new file mode 100644
index 0000000..86156fa
--- /dev/null
+++ b/debian/patches/afl-vulnerabilitities-regression.patch
@@ -0,0 +1,18 @@
+Description: Fix regression introduced by afl-vulnerabilitities.patch.
+ Initially reported as a bug in GDAL and traced to FreeXL, see:
+ https://trac.osgeo.org/gdal/ticket/6200
+Origin: 
https://www.gaia-gis.it/fossil/freexl/fdiff?v1=61618ce51a9b0c15&v2=4f9408c216ead322&sbs=1
+Author: Alessandro Furieri <a.furi...@lqt.it>
+Bug-Debian: https://bugs.debian.org/781228
+
+--- a/src/freexl.c
++++ b/src/freexl.c
+@@ -3759,7 +3759,7 @@ read_biff_next_record (biff_workbook * w
+         unsigned int already_done;
+         unsigned int chunk =
+             workbook->sector_end - (workbook->p_in - workbook->sector_buf);
+-          if (workbook->sector_end <= (workbook->p_in - workbook->sector_buf))
++          if (workbook->sector_end < (workbook->p_in - workbook->sector_buf))
+               return -1;
+         memcpy (workbook->record, workbook->p_in, chunk);
+         workbook->p_in += chunk;
diff --git a/debian/patches/series b/debian/patches/series
index 079be2f..b6ce158 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 afl-vulnerabilitities.patch
+afl-vulnerabilitities-regression.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/freexl.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to