am 1608659a: am ed96db2a: Merge "Don\'t abort in stdio.getdelim_invalid and stdio.getline_invalid."

* commit '1608659a45e2291cab84b4ef1d1c6f35ff988e67':
  Don't abort in stdio.getdelim_invalid and stdio.getline_invalid.
This commit is contained in:
Elliott Hughes 2013-12-19 23:48:01 +00:00 committed by Android Git Automerger
commit ffbbc131fa

View File

@ -85,6 +85,7 @@ TEST(stdio, getdelim) {
TEST(stdio, getdelim_invalid) {
FILE* fp = tmpfile();
ASSERT_TRUE(fp != NULL);
char* buffer = NULL;
size_t buffer_length = 0;
@ -153,6 +154,7 @@ TEST(stdio, getline) {
TEST(stdio, getline_invalid) {
FILE* fp = tmpfile();
ASSERT_TRUE(fp != NULL);
char* buffer = NULL;
size_t buffer_length = 0;