From ebd0605eb592248523bf22ef145d175a3bb5dfb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 8 Jul 2018 16:45:00 +0200 Subject: remove useless d/p/0100-unescaped_quotes.patch --- debian/changelog | 2 -- debian/patches/0100-unescaped_quotes.patch | 19 ------------------- debian/patches/series | 1 - 3 files changed, 22 deletions(-) delete mode 100644 debian/patches/0100-unescaped_quotes.patch diff --git a/debian/changelog b/debian/changelog index 4fcf4a2..bfc58c0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,5 @@ fast-cpp-csv-parser (0.0+git20160525~9bf299c-2) UNRELEASED; urgency=medium - * New debain/patches/0100-unescaped_quotes.patch: - - Fix overrun when quotes are unescaped. * New debian/patches/0105-cve-2018-13421.patch (Closes: #903247): - Fix heap-based buffer over-read in io::trim_chars (CVE-2018-13421). * Change to my new mail address. diff --git a/debian/patches/0100-unescaped_quotes.patch b/debian/patches/0100-unescaped_quotes.patch deleted file mode 100644 index 29b310d..0000000 --- a/debian/patches/0100-unescaped_quotes.patch +++ /dev/null @@ -1,19 +0,0 @@ -Description: fix overrun when quotes are unescaped -Origin: upstream -Bug: https://github.com/ben-strasser/fast-cpp-csv-parser/pull/32 -Last-Update: 2016-11-17 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ -Index: trunk/csv.h -=================================================================== ---- trunk.orig/csv.h -+++ trunk/csv.h -@@ -786,7 +786,7 @@ namespace io{ - --col_end; - char*out = col_begin; - for(char*in = col_begin; in!=col_end; ++in){ -- if(*in == quote && *(in+1) == quote){ -+ if(*in == quote && (in+1) != col_end && *(in+1) == quote){ - ++in; - } - *out = *in; diff --git a/debian/patches/series b/debian/patches/series index 3909c89..3216ca4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1 @@ 0105-cve-2018-13421.patch -#0100-unescaped_quotes.patch -- cgit v1.2.3