]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix memory overflow.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sat, 15 Dec 2012 23:40:05 +0000 (08:40 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sat, 15 Dec 2012 23:40:05 +0000 (08:40 +0900)
libarchive/archive_read_append_filter.c

index 50fdcf94c4593e8b2d5a44f702bb07da175ca738..017d7c68a4b39203d94f40b2ccf2ed83a90d8cce 100644 (file)
@@ -38,7 +38,7 @@ int
 archive_read_append_filter(struct archive *_a, int code)
 {
   int r1, r2, number_bidders, i;
-  char str[10];
+  char str[20];
   struct archive_read_filter_bidder *bidder;
   struct archive_read_filter *filter;
   struct archive_read *a = (struct archive_read *)_a;