* commit '1608659a45e2291cab84b4ef1d1c6f35ff988e67': Don't abort in stdio.getdelim_invalid and stdio.getline_invalid.
This commit is contained in:
commit
ffbbc131fa
@ -85,6 +85,7 @@ TEST(stdio, getdelim) {
|
|||||||
|
|
||||||
TEST(stdio, getdelim_invalid) {
|
TEST(stdio, getdelim_invalid) {
|
||||||
FILE* fp = tmpfile();
|
FILE* fp = tmpfile();
|
||||||
|
ASSERT_TRUE(fp != NULL);
|
||||||
|
|
||||||
char* buffer = NULL;
|
char* buffer = NULL;
|
||||||
size_t buffer_length = 0;
|
size_t buffer_length = 0;
|
||||||
@ -153,6 +154,7 @@ TEST(stdio, getline) {
|
|||||||
|
|
||||||
TEST(stdio, getline_invalid) {
|
TEST(stdio, getline_invalid) {
|
||||||
FILE* fp = tmpfile();
|
FILE* fp = tmpfile();
|
||||||
|
ASSERT_TRUE(fp != NULL);
|
||||||
|
|
||||||
char* buffer = NULL;
|
char* buffer = NULL;
|
||||||
size_t buffer_length = 0;
|
size_t buffer_length = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user