Fix an uninitialized variable access in callers of parse_msdfs_symlink
authorVolker Lendecke <vl@samba.org>
Sun, 22 Jun 2008 10:50:30 +0000 (12:50 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 22 Jun 2008 10:57:43 +0000 (12:57 +0200)
commitd75905ad66e96d4967eb8780d3a980eccb796898
treeb96f0d24a8c50eddf3a0aa96cd8cbca03fd3a148
parent394f4509bc5dd31801ef83ee9cc29c1e3a9f1078
Fix an uninitialized variable access in callers of parse_msdfs_symlink

At least form_junctions() does not initialize refcount, and I don't see it in
get_referred_path(). For the latters, the callers might initialize it. But even
if they did, I think parse_msdfs_symlink() should unconditionally return the
number of referrals it found. I don't think it makes sense to count them up
from somewhere else.
source/smbd/msdfs.c