fix free of uninitialized buffer pointer on error in regexec
the fix in commit c3edc06d for CVE-2016-8859 used gotos to exit on overflow conditions, but the code in that error path assumed the buffer pointer was valid or null. thus, the conditions which previously led to under-allocation and buffer overflow could instead lead to an invalid pointer being passed to free.
Showing
想要评论请 注册 或 登录