Turns out there are lots of places in S3 where token passed in
authorJeremy Allison <jra@samba.org>
Thu, 2 Dec 2010 01:39:30 +0000 (17:39 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 2 Dec 2010 02:26:03 +0000 (03:26 +0100)
commit75508cea4a95ea63a1a4c192c82e827a712aa709
tree630f05b8cbcbf8496feb162e70697a3d9eb8479c
parentc8395ac6cfe3ee66c8fa8ad47f48353ae14ba8c4
Turns out there are lots of places in S3 where token passed in
here can be NULL (become_root() sets the current security token to
NULL for example). Ensure we don't crash.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Dec  2 03:26:03 CET 2010 on sn-devel-104
libcli/security/privileges.c