diff options
author | Chris Johns <chrisj@rtems.org> | 2010-02-16 01:47:46 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2010-02-16 01:47:46 +0000 |
commit | b3b8add4b425709c711ff1515754b09b755aad11 (patch) | |
tree | 2c6dc1a1570eeb26066acb2a76b013d5251eebeb /cpukit/libcsupport/src/open.c | |
parent | This commit was generated by cvs2svn to compensate for changes in r22653, (diff) | |
download | rtems-b3b8add4b425709c711ff1515754b09b755aad11.tar.bz2 |
2010-02-16 Chris Johns <chrisj@rtems.org>
* libcsupport/src/open.c: Tighten the open handler check.
2010-02-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/rmdir.c, libcsupport/src/unlink.c: Free the
allocated pathloc.
Diffstat (limited to 'cpukit/libcsupport/src/open.c')
-rw-r--r-- | cpukit/libcsupport/src/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/open.c b/cpukit/libcsupport/src/open.c index 6b957464f7..25a6f4e239 100644 --- a/cpukit/libcsupport/src/open.c +++ b/cpukit/libcsupport/src/open.c @@ -158,7 +158,7 @@ int open( iop->flags |= rtems_libio_fcntl_flags( flags ); iop->pathinfo = loc; - if ( !iop->handlers->open_h ) { + if ( !iop->handlers || !iop->handlers->open_h ) { rc = ENOTSUP; goto done; } |