Check that the buffer is intact

This commit is contained in:
Erik Ekman 2007-01-28 03:35:24 +00:00
parent 22c66af914
commit 0aa665c0e3

View File

@ -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);