summaryrefslogtreecommitdiff
path: root/test/data/invalid-messages/too-little-header-padding.message
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/invalid-messages/too-little-header-padding.message')
-rw-r--r--test/data/invalid-messages/too-little-header-padding.message24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/data/invalid-messages/too-little-header-padding.message b/test/data/invalid-messages/too-little-header-padding.message
new file mode 100644
index 00000000..358815a5
--- /dev/null
+++ b/test/data/invalid-messages/too-little-header-padding.message
@@ -0,0 +1,24 @@
+## has one byte missing from header padding
+
+## VALID_HEADER includes a LENGTH Header and LENGTH Body
+VALID_HEADER method_call
+
+HEADER_FIELD INTERFACE
+TYPE STRING
+STRING 'org.freedesktop.Foo'
+HEADER_FIELD MEMBER
+TYPE STRING
+STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
+
+HEADER_FIELD UNKNOWN
+TYPE STRING
+STRING 'a'
+ALIGN 8
+## kill a padding byte
+CHOP 1
+END_LENGTH Header
+START_LENGTH Body
+END_LENGTH Body