view runtime/macros/urm/urm @ 29102:fd9006d6ddcf v8.2.5072

patch 8.2.5072: using uninitialized value and freed memory in spell command Commit: https://github.com/vim/vim/commit/2813f38e021c6e6581c0c88fcf107e41788bc835 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 9 19:54:24 2022 +0100 patch 8.2.5072: using uninitialized value and freed memory in spell command Problem: Using uninitialized value and freed memory in spell command. Solution: Initialize "attr". Check for empty line early.
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Jun 2022 21:00:04 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

>0
>3
>4
>0
>0
>0
(a4;a5;s2)2; ((a2;s4)4; s3; (a1;a4;s5)5; (a5;s1)1)3. 
_________
O	; =xp ( =x%hp ) @l a @db s @dt . =x0xkdd:ready _end_
o	0 1 2 3 4 5 6 7 8 9 0
_________
INIT main(k), l, b, c, t, u, q, d 

"kT
"lT
"bT
"cT
"tT
"uT
"qT
"dT
=lF'wa/O
fpaw"zdt hp@z0"xD@x@k
=2ldwhp'wiGT'wp0P0"yD@ya =xlwP >0 =x%p I k/>0
ww"ydt 0D@y
'wa/o
fwF'wpi`ar`aF'wffp0"vD@v0"vDp03x@v'wa @c 0 0 0I f0w"wdt 0D@w
`ahmaF'wa  'aa1 > @b 0p0f>w"vdt 0D@v
'wa/o
wfbF'wpi`ar`aF'wffp0"vD@v0"vDp03x@v'wa @u 9 0 0I f9w"wdt 0D@w
`ahmaF'wa  `alr0 > @q 0p0f>w"vdt 0D@v
`ahy2l'wa  `ax >1 @t 0p0/>1
ww"idt 0D@i
=xwhpbldwhp'wpaG$ma0"yD@y@