summaryrefslogtreecommitdiff
path: root/debian/patches/0100-unescaped_quotes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0100-unescaped_quotes.patch')
-rw-r--r--debian/patches/0100-unescaped_quotes.patch19
1 files changed, 0 insertions, 19 deletions
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;