Searched hist:cbea9238 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | file.c | cbea9238 Thu Dec 20 01:39:59 CST 2007 Jeremy Kerr <jk@ozlabs.org> [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> cbea9238 Thu Dec 20 01:39:59 CST 2007 Jeremy Kerr <jk@ozlabs.org> [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>
|