[7.2.307] Crash with a very long syntax match statement. (Guy Gur Ari)
commit92afdd3cdd297b811b2fa6db20e9cecb503e95d9
authorBram Moolenaar <Bram@moolenaar.net>
Wed, 25 Nov 2009 18:14:32 +0000 (25 18:14 +0000)
committerBram Moolenaar <Bram@moolenaar.net>
Wed, 25 Nov 2009 18:14:32 +0000 (25 18:14 +0000)
tree8aff032e5cd677392446d2260648a2678ddb18f1
parent6f5b3167eca7872721301c85f5d5b22cf9280f5a
[7.2.307] Crash with a very long syntax match statement. (Guy Gur Ari)

Problem:    Crash with a very long syntax match statement. (Guy Gur Ari)

Solution:   When the offset does not fit in the two bytes available give an
            error instead of continuing with invalid pointers.

Patch 7.2.307
src/regexp.c
src/version.c