mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-09 08:40:21 +01:00
add test for header padding not set to all bits 0
This commit is contained in:
parent
034e35b33d
commit
b293770841
1 changed files with 14 additions and 0 deletions
14
test/data/invalid-messages/not-nul-header-padding.message
Normal file
14
test/data/invalid-messages/not-nul-header-padding.message
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
## has one non-nul byte in header padding
|
||||
|
||||
## VALID_HEADER includes a LENGTH Header and LENGTH Body
|
||||
VALID_HEADER
|
||||
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
|
||||
Loading…
Add table
Reference in a new issue