Mercurial > vim
view pixmaps/tb_find.xpm @ 28829:2d0bd5601c30 v8.2.4938
patch 8.2.4938: crash when matching buffer with invalid pattern
Commit: https://github.com/vim/vim/commit/a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 11 11:42:28 2022 +0100
patch 8.2.4938: crash when matching buffer with invalid pattern
Problem: Crash when matching buffer with invalid pattern.
Solution: Check for NULL regprog.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 11 May 2022 12:45:04 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_find_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 iconColor2 m none c #FFFFFF", "O s iconGray2 m none c #bdbdbd", "+ s bottomShadowColor m black c #5D6069", /* pixels */ " ", " ......... ", " .XXXXXXX.. ", " .XXXXXXX.O. ", " .XXXXXXX.... ", " .XXXXXXXXXX. ", " .XXXXXXX.... ", " .XXXXXX.OOOO. ", " .XXXXX.OXXOOO. ", " .XXXXX.OXOOOO. ", " .XXXXX.OOOOOO. ", " .XXXXX.OOOXOO. ", " .XXXXXX.OOOO.+ ", " .XXXXXXX....+.. ", " .XXXXXXXXXX.+... ", " ............+ .. ", " ++++++++++ ", " "};