summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-pcf8583.c
diff options
context:
space:
mode:
authorDan Rosenberg <dan.j.rosenberg@gmail.com>2010-09-06 18:24:57 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-26 17:18:36 -0700
commit0d1f22d21f4ca1fe9943667b712beb4d80611236 (patch)
treed1480f6ed61b21bbe1eea14e27b2244efa2c5706 /drivers/rtc/rtc-pcf8583.c
parent0f403655ecddfdb7630adbb6ba59c30cb0c541a4 (diff)
xfs: prevent reading uninitialized stack memory
commit a122eb2fdfd78b58c6dd992d6f4b1aaef667eef9 upstream. The XFS_IOC_FSGETXATTR ioctl allows unprivileged users to read 12 bytes of uninitialized stack memory, because the fsxattr struct declared on the stack in xfs_ioc_fsgetxattr() does not alter (or zero) the 12-byte fsx_pad member before copying it back to the user. This patch takes care of it. Signed-off-by: Dan Rosenberg <dan.j.rosenberg@gmail.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Alex Elder <aelder@sgi.com> Cc: dann frazier <dannf@debian.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/rtc/rtc-pcf8583.c')
0 files changed, 0 insertions, 0 deletions