1
0
mirror of https://github.com/simh/simh.git synced 2026-04-28 12:47:25 +00:00
Files
simh.simh/scp.c
Mark Pizzolato 6a27b7ef1b SCP: Properly handle when regex string matches without some substring matches
B. Scott Michel's run of clang memory sanitizer potentially identified
that  when a substring doesn't match the returned array offsets would
be -1.

This commit handles that potential and sets the respective substring as
an empty string.
2023-07-15 11:58:28 -10:00

685 KiB