svn commit: samba r25674 - in branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3: .

Rafal Szczesniak mimir at samba.org
Thu Oct 18 09:33:45 GMT 2007


On Wed, Oct 17, 2007 at 08:26:55AM +0000, metze at samba.org wrote:
> Author: metze
> Date: 2007-10-17 08:26:55 +0000 (Wed, 17 Oct 2007)
> New Revision: 25674
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25674
>
[...]
> I've tested with midl to see how windows handles this situation
> and also the reverse case where the client sends NULL and
> the server reposnse with non-NULL.
> 
> It appears that midl generated code just ignores this
> and only copies the result if both pointers are non-NULL.

Did midl ignore all cases but the one where both pointers were non-NULL
at the same time ? I'm not sure right now, but midl shouldn't have
problems with [in,out] pointer set to NULL on either "in" or "out"
direction (as long as it's not "ref" pointer).


cheers,
-- 
Rafal Szczesniak
Samba Team member  http://www.samba.org

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


More information about the samba-technical mailing list