[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1567-g3fa6943

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue May 12 18:34:19 GMT 2009

On Tue, May 12, 2009 at 12:08:47PM -0400, Derrell Lipman wrote:
> It looks like previously, extra_data could already contain some data which
> was then realloc'ed to add more space, whereas now you always overwrite
> extra_data each time. Is that correct? Is this potentially losing previously
> initialized data that needs to stick around?

If you look at the routines, you will see that the REALLOC
is actually an alloc. This realloc was the first time that
chunk was touched after the initial NULL assignment.

Please correct me if I'm wrong, but this was my impression
from reading the code.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090512/79a83e81/attachment.bin

More information about the samba-technical mailing list