yaffs direct: Add some NULL pointer handling
authorCharles Manning <cdhmanning@gmail.com>
Tue, 30 Nov 2010 00:16:13 +0000 (13:16 +1300)
committerCharles Manning <cdhmanning@gmail.com>
Tue, 30 Nov 2010 00:16:13 +0000 (13:16 +1300)
commit710ddf7a3cfce3e9d5f01afeecc41679a89b68f3
tree3a6ef083dfb0db9037c440f66c595d30d11dcf1b
parent2d0acac2786382b29762a6042119c41ba3f2f92f
yaffs direct: Add some NULL pointer handling

Passing in NULL arguments causes -EFAULT.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/python/yaffs_error_converter.c
direct/timothy_tests/quick_tests/test_yaffs_access_NULL.c
direct/timothy_tests/quick_tests/test_yaffs_chmod_NULL.c
direct/yaffsfs.c
direct/yportenv.h