summaryrefslogtreecommitdiff
path: root/lib/http_chunks.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-01-16 23:07:54 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-01-17 08:37:44 +0100
commit345891edba32312686e18d8ff185f4476b74e417 (patch)
treecd7e6661dea2e54c5c633931b50b0d1197527bdb /lib/http_chunks.h
parent821094ba728cb2778dd4ebad6ab1bb149504c73e (diff)
downloadcurl-345891edba32312686e18d8ff185f4476b74e417.tar.gz
chunked-parser: abort on overflows, allow 64 bit chunks
Diffstat (limited to 'lib/http_chunks.h')
-rw-r--r--lib/http_chunks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http_chunks.h b/lib/http_chunks.h
index b999ab53b..493d8a426 100644
--- a/lib/http_chunks.h
+++ b/lib/http_chunks.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -100,7 +100,7 @@ struct Curl_chunker {
char hexbuffer[ MAXNUM_SIZE + 1];
int hexindex;
ChunkyState state;
- size_t datasize;
+ curl_off_t datasize;
size_t dataleft; /* untouched data amount at the end of the last buffer */
};