NULL-Pointer in passdb backends
Simo Sorce
idra at samba.org
Fri Sep 3 13:10:35 GMT 2004
On Fri, 2004-09-03 at 14:55, Heinrich Mislik wrote:
> Hi,
>
> this is from examples/pdb/pdb_test.c :
>
>
> /* Functions your pdb module doesn't provide should be set
> * to NULL */
>
> and is wrong. The interface does not check for NULL-Pointers and
> crashes the smbd, giving some strange results. It just took me a
> couple of hours, to find this out. So please remove this comment.
IIRC it should check, if it doesn't then we have a problem, I'll watch
out which is the right way to handle this.
Simo.
--
Simo Sorce - idra at samba.org
Samba Team - http://www.samba.org
Italian Site - http://samba.xsec.it
More information about the samba-technical
mailing list