summaryrefslogtreecommitdiffstats
path: root/test/data/invalid-messages/not-nul-header-padding.message
blob: f98812c213ec4a471eee6ccdcd60fbecba141291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## has one non-nul byte in header padding

## VALID_HEADER includes a LENGTH Header and LENGTH Body
VALID_HEADER method_call

FIELD_NAME ifce
TYPE STRING
STRING 'org.freedesktop.Foo'
FIELD_NAME mebr
TYPE STRING
STRING 'Bar'

FIELD_NAME unkn
TYPE STRING
STRING 'a'
ALIGN 8
## kill a padding byte and replace it
CHOP 1
BYTE 'q'
END_LENGTH Header
START_LENGTH Body
END_LENGTH Body