commit | aa0ed2bdb663608d5e409faecff3e1e81a3d413a | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd.bergmann@de.ibm.com> | Sat Mar 10 00:05:35 2007 +0100 |
committer | Arnd Bergmann <arnd@klappe.arndb.de> | Sat Mar 10 00:07:48 2007 +0100 |
tree | 88382df6dec804ae319316753c661c8212cd0832 | |
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>