Fix CVE-2017-14166: https://github.com/libarchive/libarchive/issues/935 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14166 Patch copied from upstream source repository: https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71 From fa7438a0ff4033e4741c807394a9af6207940d71 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Tue, 5 Sep 2017 18:12:19 +0200 Subject: [PATCH] Do something sensible for empty strings to make fuzzers happy. --- libarchive/archive_read_support_format_xar.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libarchive/archive_read_support_format_xar.c b/libarchive/archive_read_support_format_xar.c index 7a22beb9d..93eeacc5e 100644 --- a/libarchive/archive_read_support_format_xar.c +++ b/libarchive/archive_read_support_format_xar.c @@ -1040,6 +1040,9 @@ atol10(const char *p, size_t char_cnt) uint64_t l; int digit; + if (char_cnt == 0) + return (0); + l = 0; digit = *p - '0'; while (digit >= 0 && digit < 10 && char_cnt-- > 0) { @@ -1054,7 +1057,10 @@ atol8(const char *p, size_t char_cnt) { int64_t l; int digit; - + + if (char_cnt == 0) + return (0); + l = 0; while (char_cnt-- > 0) { if (*p >= '0' && *p <= '7') KS?id=0674b3c96d3aa93b63cdafbf99abe87815aec55c'>commitdiff
path: root/THANKS
AgeCommit message (Expand)Author
2015-11-23Thank Jan.Ludovic Courtès
2015-11-17Thank Chris.Ludovic Courtès
2015-10-09Thank Chris.Ludovic Courtès
2015-09-20Thank Petter.Ludovic Courtès
2015-08-27Thank Eric Hanchrow.Ludovic Courtès
2015-07-23Thank Anders.Ludovic Courtès
2015-07-22Thank Malcolm.Ludovic Courtès
2015-07-22Thank Dave.Ludovic Courtès
2015-07-04Clean up 'THANKS' and 'AUTHORS'....* THANKS: Add Konrad Hinsen, Cyprien Nicolas, Yakkala Yagnesh Raghava and Alexander Shendi. Remove Federico Beffa, Marek Benc, John Darrington, rekado, Cyrill Schenkel and Andy Wingo because they are placed in AUTHORS. Move Amirouche Boubekki and Alex Kost to ... * AUTHORS: ... here. Add Arne Babenhauserheide, Ian Denhardt, Kevin Lemonnier, Mathieu Lirzin, Pierre-Antoine Rault and Ben Woodcroft. Fix some names and emails. Alex Kost
2015-06-07Thank Thomas.Ludovic Courtès
2015-05-01Thank Joshua.Ludovic Courtès
2015-04-14Thank Pjotr.Ludovic Courtès