diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2019-09-04 12:01:57 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2019-09-04 12:01:57 -0700 |
commit | 555b60b0626bdcb6e0436625177c375f75664247 (patch) | |
tree | 8e7b9d7cd583c2b4ab1b6dda705987957bdf71e5 /tests/conformance_upb.c | |
parent | 2c869197700f5fd120dfbbb958ea460bc0dd4fef (diff) |
A memory safety fix, found by ASAN.
We cannot assume that the input string is NULL-terminated,
or read past "len." Instead we manually NULL-terminate it.
Diffstat (limited to 'tests/conformance_upb.c')
0 files changed, 0 insertions, 0 deletions