summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-11-14 13:49:48 +1300
committerDouglas Bagnall <dbagnall@samba.org>2019-11-17 22:28:41 +0000
commitb3bdb17a35380237f7b46cc2b453b6b6b7c7a4f8 (patch)
tree32f36e8a8b97ed39cce516650cf9d2d5db24928c /librpc
parent2bb642d98e1c26064907f8f671c1de864f2d8c2f (diff)
downloadsamba-b3bdb17a35380237f7b46cc2b453b6b6b7c7a4f8.tar.gz
selftest: Test fix for ndrdump of structures by number
This requires that misc.GUID not move in the IDL, so a comment is added. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14191 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/misc.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/librpc/idl/misc.idl b/librpc/idl/misc.idl
index 0b59ce5c96c..a705b53b5f3 100644
--- a/librpc/idl/misc.idl
+++ b/librpc/idl/misc.idl
@@ -11,6 +11,12 @@
]
interface misc
{
+ /*
+ * While structures are not normally known by their order,
+ * please keep this as the first struct, we use this for a
+ * test of 'ndrdump misc 0 struct' (this helps debug failures
+ * from our NDR fuzzing tool, which doesn't use string names)
+ */
typedef [public,noprint,gensize] struct {
uint32 time_low;
uint16 time_mid;