(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:
@@ -335,7 +335,7 @@ generic_decode_fail (const struct test_case *tests,
|
|||||||
|
|
||||||
data = map_alloc(OVERRUN, NULL, data_size, &data_map);
|
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;
|
sz = tests[i].byte_len;
|
||||||
bytes = tests[i].bytes;
|
bytes = tests[i].bytes;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user