mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-27 12:05:15 +00:00
Check that the buffer is intact
This commit is contained in:
parent
22c66af914
commit
0aa665c0e3
@ -146,6 +146,7 @@ START_TEST(test_read_name)
|
||||
rv = readname(jumper, sizeof(badjump), &data, buf, 256);
|
||||
|
||||
fail_unless(rv == 0, NULL);
|
||||
fail_unless(buf[0] == 0, NULL);
|
||||
}
|
||||
free(jumper);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user