vfs catia: Fix a NULL dereference when CATIA is loaded with no mappings specified.
authorAravind Srinivasan <aravind.srinivasan@isilon.com>
Wed, 23 Sep 2009 20:37:04 +0000 (20:37 +0000)
committerTim Prouty <tprouty@samba.org>
Thu, 24 Sep 2009 17:59:33 +0000 (10:59 -0700)
commit32ee9767088fcd395e1f1a22d781d33b076aa78b
tree2d46041d2b9f30ddd9597c5d4d90f791a83260c9
parent637901c24288740d51f28e2378c02d956dd7b17d
vfs catia: Fix a NULL dereference when CATIA is loaded with no mappings specified.

When we use the CATIA vfs module and don't have any mapping specified,
we return NULL for the mapped_name, thereby resulting in segfaults.
When we don't have catia mapping, we should just use the old name
instead of returning NULL for the mapped_name.

Signed-off-by: Tim Prouty <tprouty@samba.org>
source3/modules/vfs_catia.c