Re: suspicious integer overflow in src/spellfile.c:1607

2017-02-28 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-02-28 23:30 GMT+03:00 Vekktone Official : > On Tuesday, February 7, 2017 at 9:36:20 PM UTC-6, shqking wrote: >> Hi all. >> >> Suspicious integer overflow is found in >> src/spellfile.c:1607.(https://github.com/vim/vim/blob/master/src/spellfile.c#L1607) >> >> Signed integer overflow might occu

Re: suspicious integer overflow in src/spellfile.c:1607

2017-02-28 Fir de Conversatie Vekktone Official
On Tuesday, February 7, 2017 at 9:36:20 PM UTC-6, shqking wrote: > Hi all. > > Suspicious integer overflow is found in > src/spellfile.c:1607.(https://github.com/vim/vim/blob/master/src/spellfile.c#L1607) > > Signed integer overflow might occur for len * sizeof(int) at line 1607, if > len can h

Re: suspicious integer overflow in src/spellfile.c:1607

2017-02-09 Fir de Conversatie Bram Moolenaar
shqking wrote: > Suspicious integer overflow is found in > src/spellfile.c:1607.(https://github.com/vim/vim/blob/master/src/spellfile.c#L1607) > > Signed integer overflow might occur for len * sizeof(int) at line 1607, if > len can hold a value whose range is (0x / 4, 0x7fff ]. >

suspicious integer overflow in src/spellfile.c:1607

2017-02-07 Fir de Conversatie shqking
Hi all. Suspicious integer overflow is found in src/spellfile.c:1607.(https://github.com/vim/vim/blob/master/src/spellfile.c#L1607) Signed integer overflow might occur for len * sizeof(int) at line 1607, if len can hold a value whose range is (0x / 4, 0x7fff ]. Assume that len is