MAX_TALLOC_SIZE limitation

Andrew Bartlett abartlet at samba.org
Thu Mar 7 20:33:12 MST 2013


On Fri, 2013-03-08 at 14:04 +1100, Amitay Isaacs wrote:
> Hi,
> 
> I have recently encountered the problem in CTDB where talloc_realloc_size()
> failed as the requested buffer size was more than MAX_TALLOC_SIZE.  The
> current MAX_TALLOC_SIZE is 256M.
> 
> Is there any reason why MAX_TALLOC_SIZE is limited to 256M?

I think it was trying to avoid being anywhere near integer wrap sizes,
but that's just from memory. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list