pidl: fix printing of server side ndr request debug messages
authorMichael Adam <obnox@samba.org>
Fri, 13 Aug 2010 15:29:07 +0000 (17:29 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 13 Aug 2010 21:50:41 +0000 (23:50 +0200)
commit045f4c96d5d9c0528661499ce0e5cc729df9713d
treede77651ee8b1afb2b396d381df586e3243dff554
parentad871b73a26f3b48a522c8374c00aa5ff7d2eb4c
pidl: fix printing of server side ndr request debug messages

The macros NDR_PRINT_IN_DEBUG and NDR_PRINT_OUT_DEBUG are made for
the client side. For the server side, the NDR_SET_VALUES flag needs
to be added for the OUT struct and not for the IN struct, otherwise,
the OUT part can print uninitialized data and the IN part may
recalculate string lengths illegally.
pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm