[PATCH v1 0/1] arm64: Fix strrchr() matching of null terminator

Edgar E. Iglesias posted 1 patch 4 days, 20 hours ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20260518234353.453193-1-edgar.iglesias@amd.com
xen/arch/arm/arm64/lib/strrchr.S | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
[PATCH v1 0/1] arm64: Fix strrchr() matching of null terminator
Posted by Edgar E. Iglesias 4 days, 20 hours ago
Found a problem with strrchr("", '\0') returning NULL when searching for the
terminating null byte. This fixes it.

Found while GDB-fuzzing xen/lib helpers under QEMU.

Cheers,
Edgar

Edgar E. Iglesias (1):
  arm64: Fix strrchr() matching of null terminator

 xen/arch/arm/arm64/lib/strrchr.S | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

-- 
2.43.0