Skip to content

Fix use-after-free of 'name' in parser_regex.c

'name' gets used in the error message. Make sure it only gets freed afterwards.

This bug was introduced in be0d2fa9 / !727 (merged)

Fixes coverity CID 254465: Memory - illegal accesses (USE_AFTER_FREE)

I propose this fix for 3.0..master.

Merge request reports