diff options
author | Dan Willemsen <dwillemsen@google.com> | 2016-06-29 23:21:20 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2016-06-29 23:21:20 -0700 |
commit | cd29d6cc57301c7facb118077d1d059e81c3de5d (patch) | |
tree | 97bd19fe940b556297f956596ca65b0ea3872630 /.gitignore | |
parent | dbd6b572694f8f4d85a764282c04adc5b7577591 (diff) | |
download | android_build_kati-cd29d6cc57301c7facb118077d1d059e81c3de5d.tar.gz android_build_kati-cd29d6cc57301c7facb118077d1d059e81c3de5d.tar.bz2 android_build_kati-cd29d6cc57301c7facb118077d1d059e81c3de5d.zip |
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.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |