diff options
| author | J0WI <J0WI@users.noreply.github.com> | 2019-11-07 16:27:07 +0100 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-08 02:48:30 -0300 |
| commit | 0eda4c601a5e4a721ad87ab7321c29405070cf38 (patch) | |
| tree | 03cb491937e1af8a00b9fd9bb4099e06cf529b73 /community/cpio/fix-signed-integer-overflow-big-block-sizes.patch | |
| parent | a1a8b1ec148495409f97d1e2cbdfd5c787faeef1 (diff) | |
| download | aports-0eda4c601a5e4a721ad87ab7321c29405070cf38.tar.bz2 aports-0eda4c601a5e4a721ad87ab7321c29405070cf38.tar.xz | |
community/cpio: security upgrade to 2.13
Diffstat (limited to 'community/cpio/fix-signed-integer-overflow-big-block-sizes.patch')
| -rw-r--r-- | community/cpio/fix-signed-integer-overflow-big-block-sizes.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/community/cpio/fix-signed-integer-overflow-big-block-sizes.patch b/community/cpio/fix-signed-integer-overflow-big-block-sizes.patch deleted file mode 100644 index da2691ed87..0000000000 --- a/community/cpio/fix-signed-integer-overflow-big-block-sizes.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 404600ebb4d417238bfabf7ec1561a62dc83c168 -Author: grajagandev <dmoorefo@gmail.com> -Date: Mon Feb 8 07:58:45 2016 -0800 - - Fix signed integer overflow - big block sizes - -diff --git a/src/main.c b/src/main.c -index a13861f..5a30a7b 100644 ---- a/src/main.c -+++ b/src/main.c -@@ -321,7 +321,7 @@ parse_opt (int key, char *arg, struct argp_state *state) - - case BLOCK_SIZE_OPTION: /* --block-size */ - io_block_size = atoi (arg); -- if (io_block_size < 1) -+ if (io_block_size < 1 || io_block_size > INT_MAX/512) - USAGE_ERROR ((0, 0, _("invalid block size"))); - io_block_size *= 512; - break; |
