add test for header padding not set to all bits 0

This commit is contained in:
Havoc Pennington 2003-02-16 23:10:05 +00:00
parent 034e35b33d
commit b293770841

View 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