using off_t in talloc

Love Hörnquist Åstrand lha at kth.se
Sat Jul 22 05:45:01 GMT 2006


Tridge, Stefan,

> It isn't guaranteed

The same could be said about size_t-can't fit whole memory.

I think the functions should check for overrun and just return SIZE_MAX if
that ever happen.

This mail is at least one too many on this subject :)

Love

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 823 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060722/311e6839/attachment.bin


More information about the samba-technical mailing list