diff options
author | Carsten Schlote <c.schlote@konzeptpark.de> | 2008-02-15 20:26:45 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-02-19 09:28:17 +0100 |
commit | c1bba7e22696d4af1446c0d38675d077075953da (patch) | |
tree | 2b73d28653954589e550a3826ce9cadbdd3ab320 /commands/partition.c | |
parent | 7f266db94966746cc07774b3c9b53c7368d7f15b (diff) | |
download | barebox-c1bba7e22696d4af1446c0d38675d077075953da.tar.gz barebox-c1bba7e22696d4af1446c0d38675d077075953da.tar.xz |
[general] Fixed crash in fs.h, when called with fsdrv.create == NULL
When a nor0 devices has no partitions assigned, then a call to
open() to create a file will jump with a NULL fct ptr.
Much more cheching code is missing and pointers to function are
jumped without any NULL ptr check. This must be fixed as well later.
Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
Diffstat (limited to 'commands/partition.c')
0 files changed, 0 insertions, 0 deletions