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

Volker
(This used to be commit e5dbf2441c2ce7e7cb62f2538786e38bb8c8bdd9)

source3/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,