summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-10-23 13:45:48 +0000
committerVolker Lendecke <vlendec@samba.org>2003-10-23 13:45:48 +0000
commite78cf62248f842069c97da914c0dfc2d5c27e997 (patch)
tree55656149ae33122dbc00b573b9b564f8b6dd4cc1
parentbb0598faf58679a7ad26a1caab8eadb154a07ae2 (diff)
downloadsamba-e78cf62248f842069c97da914c0dfc2d5c27e997.tar.gz
samba-e78cf62248f842069c97da914c0dfc2d5c27e997.tar.bz2
samba-e78cf62248f842069c97da914c0dfc2d5c27e997.zip
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 e5dbf2441c2ce7e7cb62f2538786e38bb8c8bdd9)
-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,