]> granicus.if.org Git - onig/commit
regparse: check xmalloc return value before using it
authorRuslan Kuprieiev <kupruser@gmail.com>
Thu, 15 Jun 2017 19:57:47 +0000 (22:57 +0300)
committerRuslan Kuprieiev <kupruser@gmail.com>
Sat, 24 Jun 2017 01:54:16 +0000 (04:54 +0300)
commita945d8ba8fb591451f8c8afc6129a96b4d101a01
tree4eafa6e4422f29e38abc867505187f894b8258a0
parenta85b2f5fce86fe213b2eab843609da2a506bba68
regparse: check xmalloc return value before using it

"Unchecked return value of 'xmalloc' that
is later used and can result in SEGFAULT."

Id: 17

Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
src/regparse.c