quota: info leak in quota_getquota()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 1 Nov 2013 10:21:54 +0000 (13:21 +0300)
committerJan Kara <jack@suse.cz>
Mon, 4 Nov 2013 13:16:55 +0000 (14:16 +0100)
commit18da65e7d30a76ab3ca0ccd2b7ca0690f80f28e4
tree007299bae59b813451ae918e3ab5cdc2486c1494
parent1ce0aa802c4cbe6dfe2c7fa95c839d75a509c9a5
quota: info leak in quota_getquota()

The if_dqblk struct has a 4 byte hole at the end of the struct so
uninitialized stack information is leaked to user space.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/quota.c