diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-03 19:01:26 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-03 19:01:26 +0000 |
commit | 21fdc5cafaa2049fc394886159a4303bf83f6615 (patch) | |
tree | 7d5af2983d34ec39e416bee5e1e51473395fb014 /user/squashfs-tools/vla-overlow.patch | |
parent | 19d027776a83db2317f8e440195059c77c2478e2 (diff) | |
download | packages-21fdc5cafaa2049fc394886159a4303bf83f6615.tar.gz packages-21fdc5cafaa2049fc394886159a4303bf83f6615.tar.bz2 packages-21fdc5cafaa2049fc394886159a4303bf83f6615.tar.xz packages-21fdc5cafaa2049fc394886159a4303bf83f6615.zip |
user/squashfs-tools: [CVE] bump to 4.4, modernise (#163)
Diffstat (limited to 'user/squashfs-tools/vla-overlow.patch')
-rw-r--r-- | user/squashfs-tools/vla-overlow.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/user/squashfs-tools/vla-overlow.patch b/user/squashfs-tools/vla-overlow.patch deleted file mode 100644 index a9840fe01..000000000 --- a/user/squashfs-tools/vla-overlow.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- ./squashfs-tools/unsquashfs.c.orig -+++ ./squashfs-tools/unsquashfs.c -@@ -2099,7 +2099,9 @@ - */ - void *inflator(void *arg) - { -- char tmp[block_size]; -+ char *tmp = malloc(block_size); -+ if(tmp == NULL) -+ EXIT_UNSQUASH("Out of memory allocating block buffer\n"); - - while(1) { - struct cache_entry *entry = queue_get(to_inflate); -@@ -2122,6 +2124,7 @@ - */ - cache_block_ready(entry, res == -1); - } -+ free(tmp); - } - - |