commit | ab73ef46398e2c0159f3a71de834586422d2a44a | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <kernel@kyup.com> | Thu Mar 03 10:54:57 2016 +0100 |
committer | Jan Kara <jack@suse.cz> | Thu Mar 03 11:01:58 2016 +0100 |
tree | 4388f22e3f80dbf4b702e90c7e71467fedcd5ea3 | |
parent | 6332b9b5e79769b3e9d79d664896b872d7ba6a66 [diff] |
quota: Fix possible GPF due to uninitialised pointers When dqget() in __dquot_initialize() fails e.g. due to IO error, __dquot_initialize() will pass an array of uninitialized pointers to dqput_all() and thus can lead to deference of random data. Fix the problem by properly initializing the array. CC: stable@vger.kernel.org Signed-off-by: Nikolay Borisov <kernel@kyup.com> Signed-off-by: Jan Kara <jack@suse.cz>