Mercurial > vim
view pixmaps/tb_new.xpm @ 25507:1ac82ad3ee01 v8.2.3290
patch 8.2.3290: Vim9: compiling dict may use pointer after free
Commit: https://github.com/vim/vim/commit/9fe17d473a6041e2ea85229f4fa09831d910def4
Author: Zdenek Dohnal <zdohnal@redhat.com>
Date: Wed Aug 4 22:30:52 2021 +0200
patch 8.2.3290: Vim9: compiling dict may use pointer after free
Problem: Vim9: compiling dict may use pointer after free and leak memory on
failure.
Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Aug 2021 22:45:04 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_new_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 1 0 0", /* colors */ " s none m none c none", ". s bottomShadowColor m black c #5D6069", "X s iconColor2 m none c #FFFFFF", "o s iconColor1 m black c #000000", "O s topShadowColor m none c #DCDEE5", /* pixels */ " . .X. ", " X. .X. X.", " ooooooo.X.oXoX.X", " oOOOOOOOoXXXXo..", " oOOOOOOOXXXXXXXX", " oOOXOOOOoXoXXo..", " oOXXOOO.OXoXoX ", " oOOOOO.OOXoX..X ", " oOOOOOOOOXoX. .X", " oOOOOOOOOXo. .", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oXXXXXXXXXo. ", " ooooooooooo. ", " .......... "};