aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2019-11-18 14:41:02 +0100
committerIngo Molnar <mingo@kernel.org>2019-11-18 14:41:02 +0100
commitb21feab0b865c36b24d7a60b55a10c7033b03159 (patch)
tree17085747485ffad55b90839b43646d453b8e5079 /lib
parentsched/fair: Add comments for group_type and balancing at SD_NUMA level (diff)
parentLinux 5.4-rc8 (diff)
downloadlinux-dev-b21feab0b865c36b24d7a60b55a10c7033b03159.tar.xz
linux-dev-b21feab0b865c36b24d7a60b55a10c7033b03159.zip
Merge tag 'v5.4-rc8' into sched/core, to pick up fixes and dependencies
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/xz/xz_dec_lzma2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xz/xz_dec_lzma2.c b/lib/xz/xz_dec_lzma2.c
index 08c3c8049998..156f26fdc4c9 100644
--- a/lib/xz/xz_dec_lzma2.c
+++ b/lib/xz/xz_dec_lzma2.c
@@ -1146,6 +1146,7 @@ XZ_EXTERN enum xz_ret xz_dec_lzma2_reset(struct xz_dec_lzma2 *s, uint8_t props)
if (DEC_IS_DYNALLOC(s->dict.mode)) {
if (s->dict.allocated < s->dict.size) {
+ s->dict.allocated = s->dict.size;
vfree(s->dict.buf);
s->dict.buf = vmalloc(s->dict.size);
if (s->dict.buf == NULL) {