commit | b79e60d7264593e1c79ccdf838254eeb9664762e | [log] [tgz] |
---|---|---|
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | Mon Jun 01 13:59:35 2020 +0100 |
committer | xNombre <kartapolska@gmail.com> | Sat Jul 04 21:28:11 2020 +0200 |
tree | dafe47e48ab7fae5c5a194e7e1bd7ee60487cc43 | |
parent | 5bde7af22aec08b657b85f41e30395f3a108ab69 [diff] |
string: Fix issue in strcmp-mte NUL check Improve the previous fix - if a string is immediately preceded by a NUL byte and the first byte is 0x1, it may be confused by the NUL check as a NUL byte. Instead of removing bytes outside the string via a shift, force them to be non-NUL.