projects
/
platform
/
upstream
/
dbus.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Attempt to reproduce fd.o #34393 via another regression test
[platform/upstream/dbus.git]
/
test
/
data
/
invalid-messages
/
array-of-nil.message
1
# Message with an array of NIL (not allowed)
2
3
VALID_HEADER method_call
4
5
HEADER_FIELD INTERFACE
6
TYPE STRING
7
STRING 'org.freedesktop.Foo'
8
HEADER_FIELD MEMBER
9
TYPE STRING
10
STRING 'Bar'
11
HEADER_FIELD PATH
12
TYPE OBJECT_PATH
13
OBJECT_PATH '/foo'
14
15
ALIGN 8
16
END_LENGTH Header
17
18
START_LENGTH Body
19
TYPE ARRAY
20
TYPE NIL
21
UINT32 5
22
23
## we want it to fail because of type nil, not because the length is no good
24
## so pad out the message with 5 bytes
25
BYTE 1
26
BYTE 2
27
BYTE 3
28
BYTE 4
29
BYTE 5
30
31
END_LENGTH Body