AnoopPuthanveetil / yaffs2utils

Automatically exported from code.google.com/p/yaffs2utils
GNU General Public License v2.0
0 stars 1 forks source link

unyaffs2 crashes on MIPS #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When using mmap(), the target file is opened using PROT_WRITE only.
On MIPS this crashes during the memcmp(), which reads back the data for 
verification.
The protection bits should be set to PROT_READ | PROT_WRITE instead.

Original issue reported on code.google.com by HIGH...@gmail.com on 7 Apr 2011 at 6:39

GoogleCodeExporter commented 9 years ago

Original comment by penguin.lin on 7 Apr 2011 at 6:05