mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-24 00:28:19 +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…
x
Reference in New Issue
Block a user