]> git.itanic.dy.fi Git - linux-stable/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)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Tue, 5 Jun 2018 15:36:46 +0000 (10:36 -0500)
commit92d34134193e5b129dc24f8d79cb9196626e8d7a
tree011dce3db1fdefac39464c1a9be0a5412926ad51
parent716a685fdb89942a50c4138141027e38336a895f
jfs: Fix inconsistency between memory allocation and ea_buf->max_size

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>
fs/jfs/xattr.c