r12225: r11729@cabra: derrell | 2005-12-13 22:59:45 -0500
authorDerrell Lipman <derrell@samba.org>
Wed, 14 Dec 2005 04:00:58 +0000 (04:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:50 +0000 (11:05 -0500)
commit62a02b8f2a1fcb66881a9c9636e0b27e3049c5a1
treecc418c07846dede32cd3753c83ae86a607f11548
parente461143639889da78cd4de47df40ac59a5a758a4
r12225:  r11729@cabra:  derrell | 2005-12-13 22:59:45 -0500
 1. Fix a crash bug which should have reared its ugly head ages ago, but for
    some reason, remained dormant until recently.  The bug pertained to
    libsmbclient doing a structure assignment of a cli after having opened a
    pipe.  The pipe open code makes a copy of the cli pointer that was passed
    to it.  If the cli is later copied (and that cli pointer that was saved
    is no longer valid), the pipe code will cause a crash during shutdown or
    when the copied cli is closed.

 2. The 'type' field in enumerated shares was not being set correctly with
    the new RPC-based mechanism for enumerating shares.
examples/libsmbclient/testbrowse2.c
source/libsmb/clientgen.c
source/libsmb/libsmbclient.c
source/rpc_client/cli_pipe.c