mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-22 21:33:33 +02:00
Check that the buffer is intact
This commit is contained in:
parent
22c66af914
commit
0aa665c0e3
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue