From cd29d6cc57301c7facb118077d1d059e81c3de5d Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 29 Jun 2016 23:21:20 -0700 Subject: Add unit tests for invalid string accesses A string may be allocated at the end of a page, and the next page may not be readable, so reading beyond the null character may not be safe. We've hit this with real makefiles, but here's a directed test that can reproduce it in other environments. This also updates the travis config to run the unit tests. --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index b907c3d..19d2723 100644 --- a/.gitignore +++ b/.gitignore @@ -11,8 +11,10 @@ repo/maloader/ testcase_parse_benchmark_test.go bench-old.out bench-new.out +find_test ninja_test string_piece_test +strutil_bench strutil_test go_src_stamp version.cc -- cgit v1.2.3