Bug when trying to stat a file in a non-existing directory. The error
returned is ENOENT, it should be ENOTDIR
+ Bug when trying to chmod a file in a non-existing directory. The error
+ returned is ENOENT, it should be ENOTDIR
+
+
+
Bug with truncating to a very large size. The yaffs_truncate function truncates the file to a massive size without any errors.
The function should return the error EINVAL.
It should return EINVAL. This is because it was reading an empty file.
When text is added to the file a read of -1 bytes tries to read 4 gig of data
- Bug when writing a file. the writhing to the file causes the file size to exceed the size of yaffs file system memory.
+ Bug when writing a file. The writing to the file causes the file size to exceed the size of yaffs file system memory.
Output of test:
test_yaffs_write_EFBIG
AddrToChunk of offset -2147483648 gives chunk -1048576 start 0