Whamcloud - gitweb
Avoid dereferencing beyond allocated memory in quota handling
authorTheodore Ts'o <tytso@mit.edu>
Fri, 11 Nov 2016 23:39:26 +0000 (18:39 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 11 Nov 2016 23:39:26 +0000 (18:39 -0500)
commit5c2a665afad4c83e34bc05953ffbe3d70dd5d72c
tree2b4bd142d0b9a18805c93ba28465c4e393218c37
parent689b7be2da01ecbc3008c466cb82455fa6189c41
Avoid dereferencing beyond allocated memory in quota handling

The quota support code must must not try to handle the project quota
if the the project feature is not enabled.

Problem detected by ASAN.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/quota.c
e2fsck/unix.c
lib/support/mkquota.c
misc/mke2fs.c
misc/tune2fs.c