ruby: fix wrong memory access in catMatch
commit68322fcb54bda53137429321c58000b2683fc2d8
authorMasatake YAMATO <yamato@redhat.com>
Tue, 12 May 2015 16:38:46 +0000 (13 01:38 +0900)
committerColomban Wendling <ban@herbesfolles.org>
Mon, 14 Mar 2016 18:27:21 +0000 (14 19:27 +0100)
tree69ee05944e67d84e29bc2f83e7d70f3cd2a7b563
parenta71dbcbeca82a4368d24873fb2d3497c443ccc3b
ruby: fix wrong memory access in catMatch

fuzz target reports canMatch access wrong memory
area when php-anonymous_functions.d/input.php is
given as input.

This patch fixes it.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tagmanager/ctags/ruby.c