s3-libsmbclient: Fix crash bug in SMBC_parse_path().
commit2be69995cfc566e5bfd62c2c185c353a59f8bd08
authorGünther Deschner <gd@samba.org>
Thu, 14 Jan 2010 18:34:26 +0000 (14 19:34 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 09:59:28 +0000 (25 10:59 +0100)
tree705e94cb6709d0fb0508a6500d2fbeb9572371ea
parent73710b59fc35ac3fdd25c8e3a441da5e8fab34b0
s3-libsmbclient: Fix crash bug in SMBC_parse_path().

Patch from Tim Waugh <twaugh@redhat.com>.
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=552658

LIBSMBCLIENT-OPENDIR torture test checks this as well.

Guenther
(cherry picked from commit e635b0074c55e0376495abe940355aa7b04f0b70)

Fix bug #7043 (SIGSEGV in "SMBC_parse_path").
(cherry picked from commit 19c78aa6d5462a6e91f7d65d52c2f4378d80eecc)
source3/libsmb/libsmb_path.c