diff options
author | Michael Adam <obnox@samba.org> | 2008-03-27 10:09:24 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-03-27 10:09:24 +0100 |
commit | 3c213a1f8d7da283a48574eabcd3f81b46ea7b74 (patch) | |
tree | 22619635a71af0d73d9615fa4f95614067c882c6 /source3/registry | |
parent | d8d1eea13663ceb28aefdf734592b90a108891b0 (diff) | |
download | samba-3c213a1f8d7da283a48574eabcd3f81b46ea7b74.tar.gz samba-3c213a1f8d7da283a48574eabcd3f81b46ea7b74.tar.bz2 samba-3c213a1f8d7da283a48574eabcd3f81b46ea7b74.zip |
posix_acls: clarify loop condition code, removing unneeded counter variable.
Coverity ID 545 falsely classified this as a NULL dereferencing bug.
By putting the loop of walking the list of aces more naturely not using
additional counters, it becomes much more obvious that it is not entered
when dir_ace == NULL.
The same modifications are done for the file_ace loop.
Michael
(This used to be commit 6dab6cf0647d7db01e5e472f8b5cf21395b7dbf0)
Diffstat (limited to 'source3/registry')
0 files changed, 0 insertions, 0 deletions