]> granicus.if.org Git - onig/commit
Fix size in xmemcpy in stack_double
authorFrancisco J. Manno <fmanno@gmail.com>
Tue, 14 Mar 2017 23:54:08 +0000 (23:54 +0000)
committerFrancisco J. Manno <fmanno@gmail.com>
Wed, 15 Mar 2017 00:17:24 +0000 (00:17 +0000)
commit0bd2887ba0f02cc66a75adfdabc40b9063ddf188
tree41242a37e8a77386e6d8d4e20dcac5d467bf5af8
parent816bc782812f082525d02df364f068bb6349cb87
Fix size in xmemcpy in stack_double

xmemcpy in stack_double is using the size
of the newly doubled stack as the third
parameter. This could result in reading
past the current allocated memory in
"base_alloc" and read invalid memory.
src/regexec.c