Merge from 3_0:
authorVolker Lendecke <vlendec@samba.org>
Thu, 23 Oct 2003 13:46:32 +0000 (13:46 +0000)
committerVolker Lendecke <vlendec@samba.org>
Thu, 23 Oct 2003 13:46:32 +0000 (13:46 +0000)
According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrind
reports an unitialized read which is obviously correct. And I hate valgrind
errors ;-)

Volker

source/libsmb/clisecdesc.c

index 548cd6ec1878033b265aa7a8d57f7a7494232f75..2989966f4dee7ddb7b8d96c45737017b76828b3f 100644 (file)
@@ -33,7 +33,7 @@ SEC_DESC *cli_query_secdesc(struct cli_state *cli, int fnum,
        SEC_DESC *psd = NULL;
 
        SIVAL(param, 0, fnum);
-       SSVAL(param, 4, 0x7);
+       SIVAL(param, 4, 0x7);
 
        if (!cli_send_nt_trans(cli, 
                               NT_TRANSACT_QUERY_SECURITY_DESC,