Skip to content
Commit f08b12e8 authored by Wilco Dijkstra's avatar Wilco Dijkstra Committed by Szabolcs Nagy
Browse files

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.
parent ef907c7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment