Mercurial > vim
view src/testdir/test95.ok @ 11303:ef32a5c74515 v8.0.0537
patch 8.0.0537: illegal memory access with :z and large count
commit https://github.com/vim/vim/commit/fa0ad0bb0b4255e64ebcf9269d60a942e0ae7ff9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 2 15:45:17 2017 +0200
patch 8.0.0537: illegal memory access with :z and large count
Problem: Illegal memory access with :z and large count.
Solution: Check for number overflow, using long instead of int. (Dominique
Pelle, closes #1612)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 02 Apr 2017 16:00:05 +0200 |
parents | fdea5ea9afd1 |
children |
line wrap: on
line source
Results of test95: OK 0 - [[:alpha:][=a=]]\+ OK 1 - [[:alpha:][=a=]]\+ OK 2 - [[:alpha:][=a=]]\+ OK 0 - [[=a=]]\+ OK 1 - [[=a=]]\+ OK 2 - [[=a=]]\+ OK 0 - [^ม ]\+ OK 1 - [^ม ]\+ OK 2 - [^ม ]\+ OK 0 - [^ ]\+ OK 1 - [^ ]\+ OK 2 - [^ ]\+ OK 0 - [ม[:alpha:][=a=]]\+ OK 1 - [ม[:alpha:][=a=]]\+ OK 2 - [ม[:alpha:][=a=]]\+ OK 0 - \p\+ OK 1 - \p\+ OK 2 - \p\+ OK 0 - \p* OK 1 - \p* OK 2 - \p* OK 0 - \i\+ OK 1 - \i\+ OK 2 - \i\+ OK 0 - \f\+ OK 1 - \f\+ OK 2 - \f\+ OK 0 - .ม OK 1 - .ม OK 2 - .ม OK 0 - .ม่ OK 1 - .ม่ OK 2 - .ม่ OK 0 - ֹ OK 1 - ֹ OK 2 - ֹ OK 0 - .ֹ OK 1 - .ֹ OK 2 - .ֹ OK 0 - ֹֻ OK 1 - ֹֻ OK 2 - ֹֻ OK 0 - .ֹֻ OK 1 - .ֹֻ OK 2 - .ֹֻ OK 0 - ֹֻ OK 1 - ֹֻ OK 2 - ֹֻ OK 0 - .ֹֻ OK 1 - .ֹֻ OK 2 - .ֹֻ OK 0 - ֹ OK 1 - ֹ OK 2 - ֹ OK 0 - .ֹ OK 1 - .ֹ OK 2 - .ֹ OK 0 - ֹ OK 1 - ֹ OK 2 - ֹ OK 0 - .ֹ OK 1 - .ֹ OK 2 - .ֹ OK 0 - ֹֻ OK 2 - ֹֻ OK 0 - .ֹֻ OK 1 - .ֹֻ OK 2 - .ֹֻ OK 0 - a OK 1 - a OK 2 - a OK 0 - ca OK 1 - ca OK 2 - ca OK 0 - à OK 1 - à OK 2 - à OK 0 - a\%C OK 1 - a\%C OK 2 - a\%C OK 0 - ca\%C OK 1 - ca\%C OK 2 - ca\%C OK 0 - ca\%Ct OK 1 - ca\%Ct OK 2 - ca\%Ct OK 0 - ú\Z OK 1 - ú\Z OK 2 - ú\Z OK 0 - יהוה\Z OK 1 - יהוה\Z OK 2 - יהוה\Z OK 0 - יְהוָה\Z OK 1 - יְהוָה\Z OK 2 - יְהוָה\Z OK 0 - יהוה\Z OK 1 - יהוה\Z OK 2 - יהוה\Z OK 0 - יְהוָה\Z OK 1 - יְהוָה\Z OK 2 - יְהוָה\Z OK 0 - יְ\Z OK 1 - יְ\Z OK 2 - יְ\Z OK 0 - קֹx\Z OK 1 - קֹx\Z OK 2 - קֹx\Z OK 0 - קֹx\Z OK 1 - קֹx\Z OK 2 - קֹx\Z OK 0 - קx\Z OK 1 - קx\Z OK 2 - קx\Z OK 0 - קx\Z OK 1 - קx\Z OK 2 - קx\Z OK 0 - ֹ\Z OK 1 - ֹ\Z OK 2 - ֹ\Z OK 0 - \Zֹ OK 1 - \Zֹ OK 2 - \Zֹ OK 0 - ֹ\Z OK 1 - ֹ\Z OK 2 - ֹ\Z OK 0 - \Zֹ OK 1 - \Zֹ OK 2 - \Zֹ OK 0 - ֹ\+\Z OK 2 - ֹ\+\Z OK 0 - \Zֹ\+ OK 2 - \Zֹ\+ OK 0 - [^[=a=]]\+ OK 1 - [^[=a=]]\+ OK 2 - [^[=a=]]\+ eng 1 ambi single: 0 eng 1 ambi double: 0 eng 2 ambi single: 0 eng 2 ambi double: 0