prs_init() and unchecked return values

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jan 23 08:28:06 GMT 2008


On Tue, Jan 22, 2008 at 02:46:18PM -0800, Jeremy Allison wrote:

> > And then make the appropriate changes where prs_init() is invoked.
> > 
> > Good idea, bad idea, anyone feel strongly?
> 
> I'm ok with the prs_init_empty() approach. We need to get the
> alloc failures caught anyway and this is one way of explicitly
> calling them out.

An even better way would be to get rid of prs_init
completely by moving to the pidl based marshalling :-)

But as an intermediate step, this might be the better
option.

Volker
-------------- 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/20080123/1f3d51cc/attachment.bin


More information about the samba-technical mailing list