-
Shawn Routhier authored
Make sure strings are terminated before callng regexec. If they are we can simply copy the pointers, if they aren't we need to copy the string into a new block of memory. Fix a boundary error in data_string_new()
4ced250f
Make sure strings are terminated before callng regexec. If they are we can simply copy the pointers, if they aren't we need to copy the string into a new block of memory. Fix a boundary error in data_string_new()