diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-04-03 14:39:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:00:12 -0500 |
commit | 5559f5e3e5b283a4fe85984589d61598b14fcfff (patch) | |
tree | cb1f7c52db85d10534af50b0c3040ca4a7ec295d /source4/libcli/raw/clisession.c | |
parent | ed56a2c147befea36e40844d3d295fd74402b64f (diff) | |
download | samba-5559f5e3e5b283a4fe85984589d61598b14fcfff.tar.gz samba-5559f5e3e5b283a4fe85984589d61598b14fcfff.tar.bz2 samba-5559f5e3e5b283a4fe85984589d61598b14fcfff.zip |
r14891: fix a bug found by the ibm checker
the problem was that we shift with <<= (privilege-1)
and we called the function with privilege=0
add some checks to catch invalid privilege values
and hide the mask representation in privilege.c
metze
(This used to be commit a69f000324764bcd4cf420f2ecba1aca788258e4)
Diffstat (limited to 'source4/libcli/raw/clisession.c')
0 files changed, 0 insertions, 0 deletions