commit | fdd58dc338b5d1797bb7f44f2602ed60b1c7b911 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jul 16 14:50:41 2019 -0700 |
committer | Rob Landley <rob@landley.net> | Tue Jul 16 23:10:54 2019 -0500 |
tree | 3344059ce510d11bb919ce4b107f1dce74291a6d | |
parent | a61cb72deaefe4e6d6ac97a3776ea3c58502766d [diff] |
grep: fix two bugs found by hwasan. The first bug appeared as a memory overwrite, but was actually visible without hwasan: basically any `grep -F` that let to multiple matches on the same line was broken. The second bug was another memory overwrite, visible when I ran the existing grep tests. Bug: http://b/137573082