]> git.hungrycats.org Git - linux/commit
jfs: Fix inconsistency between memory allocation and ea_buf->max_size
authorShankara Pailoor <shankarapailoor@gmail.com>
Tue, 5 Jun 2018 13:33:27 +0000 (08:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2018 10:18:00 +0000 (12:18 +0200)
commit240d46556d5961c7100febbee0e058185b3c8d4f
tree39337cce2313b19a46e573673e32a67216b1f13a
parent34a5bbbb6ded0f1195cefc8d041bb51c99d3c242
jfs: Fix inconsistency between memory allocation and ea_buf->max_size

commit 92d34134193e5b129dc24f8d79cb9196626e8d7a upstream.

The code is assuming the buffer is max_size length, but we weren't
allocating enough space for it.

Signed-off-by: Shankara Pailoor <shankarapailoor@gmail.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/jfs/xattr.c