(check_fail_bitstring): check for length overflow
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15664 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -533,6 +533,7 @@ check_fail_bitstring(void)
|
||||
{NULL, 0, "", "empty input data"},
|
||||
{NULL, 1, "\x08", "larger then 8 bits trailer"},
|
||||
{NULL, 1, "\x01", "to few bytes for bits"},
|
||||
{NULL, 0x3fffffff, "\x00", "length overrun"},
|
||||
{NULL, -1, "", "length to short"}
|
||||
};
|
||||
int ntests = sizeof(tests) / sizeof(*tests);
|
||||
|
Reference in New Issue
Block a user