bug in 3.2 configure

Andrew Bartlett abartlet at samba.org
Wed Jul 2 01:52:22 GMT 2008


On Tue, 2008-07-01 at 18:47 -0700, Herb Lewis wrote:
> It is supposed to be MAXPATH size.
> 
> Reading configure a little closer, it looks like we are testing if
> realpath allows a NULL argument.
> 
> Still seems like a bad test if it causes a core dump. Why do we care
> if we can use a NULL?

Presumably, because if we can use NULL then we don't have to use a
pstring, and Samba 3.2 declared war on pstrings, in favour of totally
dynamic memory allocation. 

Andrew Bartlett
-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20080702/ce33dda6/attachment.bin


More information about the samba-technical mailing list