dbus/test/data/valid-messages/no-padding.message
Havoc Pennington f7d96bdf80 2003-03-02 Havoc Pennington <hp@pobox.com>
* test/break-loader.c (randomly_set_extreme_ints): add test that
	sets really huge and small integers

	* dbus/dbus-marshal.c (_dbus_marshal_validate_arg): add check
	that length of boolean array fits in the string, and that
	string has room for boolean value in single-bool case.

	* dbus/dbus-message-builder.c (_dbus_message_data_load): add
	optional value to "ALIGN" command which is what to fill the
	alignment with.

	* test/data/valid-messages/no-padding.message: add regression
	test for the message padding problem
2003-03-02 17:34:30 +00:00

19 lines
369 B
Text

## Message with no header padding
## VALID_HEADER includes a LENGTH Header and LENGTH Body
VALID_HEADER
## this byte array is filled with zeros to the natural length
## of the header
FIELD_NAME unkn
TYPE BYTE_ARRAY
ALIGN 4
LENGTH ThisByteArray
START_LENGTH ThisByteArray
BYTE 1
ALIGN 8 1
END_LENGTH ThisByteArray
END_LENGTH Header
START_LENGTH Body
END_LENGTH Body