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 11:07:51 +0000 (13:07 +0200)
commit62f69165f6b66e149055ba431a48aab1a67c4215
treee07d3ae780f8019377665fb5d00a6067c1588c55
parenta8ae3bc317c9fb0c77798b361e54efff6cdb8a9b
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.
(This used to be commit 73172113484a2c6c9af014f59e84707716c61a7d)
source3/smbd/msdfs.c