summaryrefslogtreecommitdiff
path: root/source3/libsmb/clisecdesc.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-10-23 13:46:32 +0000
committerVolker Lendecke <vlendec@samba.org>2003-10-23 13:46:32 +0000
commit49da8712d0b9b2298d7681146e83c347001b6c4e (patch)
tree44a825995b1daf7e9729dc248ccb640edd72c461 /source3/libsmb/clisecdesc.c
parent0604336c3c985bded8aa20a211b2e62e5439deb7 (diff)
downloadsamba-49da8712d0b9b2298d7681146e83c347001b6c4e.tar.gz
samba-49da8712d0b9b2298d7681146e83c347001b6c4e.tar.bz2
samba-49da8712d0b9b2298d7681146e83c347001b6c4e.zip
Merge from 3_0:
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 (This used to be commit 73fc6da6cf2b52f65c3dbfb7705899e6cbea447a)
Diffstat (limited to 'source3/libsmb/clisecdesc.c')
-rw-r--r--source3/libsmb/clisecdesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clisecdesc.c b/source3/libsmb/clisecdesc.c
index 548cd6ec18..2989966f4d 100644
--- a/source3/libsmb/clisecdesc.c
+++ b/source3/libsmb/clisecdesc.c
@@ -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,