diff options
author | Arnd Bergmann <arnd.bergmann@de.ibm.com> | 2007-03-10 00:05:35 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-03-10 00:07:48 +0100 |
commit | aa0ed2bdb663608d5e409faecff3e1e81a3d413a (patch) | |
tree | 88382df6dec804ae319316753c661c8212cd0832 /arch/powerpc/mm/lmb.c | |
parent | f194bda4ce7e71cc95535f494a4a5515cd91ed85 (diff) |
[POWERPC] spufs: fix possible memory corruption is spufs_mem_write
Due to a buggy unsigned comparison, it was possible to write
beyond the end of the local store file in spufs under some
circumstances.
This rewrites the buggy function to look more like
simple_copy_from_buffer.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Cc: Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Diffstat (limited to 'arch/powerpc/mm/lmb.c')
0 files changed, 0 insertions, 0 deletions