(generic_decode_fail): only copy in if checklen its less then 0xffffff

and larger than 0.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15661 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-07-19 15:07:25 +00:00
parent 0a52623725
commit eaaf5d23fd

View File

@@ -335,7 +335,7 @@ generic_decode_fail (const struct test_case *tests,
data = map_alloc(OVERRUN, NULL, data_size, &data_map);
if (tests[i].byte_len != -1) {
if (tests[i].byte_len < 0xffffff && tests[i].byte_len >= 0) {
sz = tests[i].byte_len;
bytes = tests[i].bytes;
} else {