1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00
Stefan Metzmacher 5559f5e3e5 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)
2007-10-10 14:00:12 -05:00
..
2007-10-10 12:50:40 -05:00
2007-10-10 13:58:48 -05:00
2003-08-13 01:53:07 +00:00
2007-10-10 14:00:12 -05:00
2007-10-10 13:59:15 -05:00
2003-08-13 01:53:07 +00:00
2007-10-10 13:59:05 -05:00