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)
commit73172113484a2c6c9af014f59e84707716c61a7d
tree92b5957dbb264f2512e505facbf575d86d377845
parent1d7ad0dea7ebf7a46af6e695797e5132264307d6
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