Mercurial > vim
view pixmaps/tb_save.xpm @ 29647:d564107db756 v9.0.0164
patch 9.0.0164: using freed memory with put command
Commit: https://github.com/vim/vim/commit/c390cc13e55b25d85a0684aa1becde881ef8ab19
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 7 18:09:10 2022 +0100
patch 9.0.0164: using freed memory with put command
Problem: Using freed memory with put command.
Solution: Get byte offset before replacing the line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Aug 2022 19:15:02 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_save_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s iconGray2 m none c #bdbdbd", "o s iconColor2 m none c #FFFFFF", "O s bottomShadowColor m black c #5D6069", /* pixels */ " ", " .............. ", " .X.oooooooo.o. ", " .X.oooooooo...O ", " .X.oooooooo.X.O ", " .X.oooooooo.X.O ", " .X.oooooooo.X.O ", " .X.oooooooo.X.O ", " .XX........XX.O ", " .XXXXXXXXXXXX.O ", " .XX.........X.O ", " .XX......oo.X.O ", " .XX......oo.X.O ", " .XX......oo.X.O ", " .............O ", " OOOOOOOOOOOOO ", " ", " "};