]> granicus.if.org Git - onig/commit
regexec: check xmalloc return value
authorRuslan Kuprieiev <kupruser@gmail.com>
Thu, 15 Jun 2017 20:09:03 +0000 (23:09 +0300)
committerRuslan Kuprieiev <kupruser@gmail.com>
Sat, 24 Jun 2017 01:54:35 +0000 (04:54 +0300)
commitce0ceb554cabf5513bf5cc3d4e89e41a3960a87f
tree928a1db86ec03b63cc25ead7e57d003179d447eb
parentd0d879889efce8ae7b3c9a4dc21a8ac31a37bc5e
regexec: check xmalloc return value

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

Id: 15

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