Heap-Buffer-Overflow Error When Using POSIX Regex Functions with AddressSanitizer
I I am working with POSIX regex functions to perform string matching in my C program. I have set up the matching rules and initialized them properly. Within my make_token
function, I am invoking the regexec
function to sequentially check if the incoming characters match the specified patterns.