summaryrefslogtreecommitdiffstats
path: root/include/linux/ktime.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2007-12-20 16:39:59 +0900
committerPaul Mackerras <paulus@samba.org>2007-12-21 19:46:22 +1100
commitcbea92383d0d55fb4b4eb5833488bfee325254d6 (patch)
tree988bf369946836d95a549059d2d01998d252e673 /include/linux/ktime.h
parent18789fb1c3311dd8c25acb6eb5ccab05771843f2 (diff)
downloadop-kernel-dev-cbea92383d0d55fb4b4eb5833488bfee325254d6.zip
op-kernel-dev-cbea92383d0d55fb4b4eb5833488bfee325254d6.tar.gz
[POWERPC] spufs: Don't leak kernel stack through an empty {i,m}box_info read
Based on an original patch from Arnd Bergmann <arnd.bergmann@de.ibm.com> If there's no entry in the mailbox, then a read on the _info file will return data from an uninitialised variable. This change returns EOF if there's no mailbox info available instead. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/linux/ktime.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud