Mercurial > vim
view src/vim_mask.xbm @ 31487:df58407c97f3 v9.0.1076
patch 9.0.1076: ASAN complains about NULL argument
Commit: https://github.com/vim/vim/commit/8efdcee02ed02cf9e51e1757441715c2479757ee
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 19 12:18:09 2022 +0000
patch 9.0.1076: ASAN complains about NULL argument
Problem: ASAN complains about NULL argument.
Solution: Skip memmove() when there is nothing to move.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 19 Dec 2022 13:30:08 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#define vim_mask_icon_width 32 #define vim_mask_icon_height 32 static unsigned char vim_mask_icon_bits[] = { 0x00, 0x80, 0x01, 0x00, 0x00, 0xc0, 0x03, 0x00, 0xfc, 0xff, 0xff, 0x3f, 0xfc, 0xff, 0xff, 0x3f, 0xfc, 0xff, 0xff, 0x7f, 0xf8, 0xff, 0xff, 0x7f, 0xf0, 0xff, 0xff, 0x7f, 0xf0, 0xff, 0xff, 0x3f, 0xf0, 0xff, 0xff, 0x1f, 0xf0, 0xff, 0xff, 0x0f, 0xf0, 0xff, 0xff, 0x07, 0xf0, 0xff, 0xff, 0x0f, 0xf8, 0xff, 0xff, 0x1f, 0xfc, 0xff, 0xff, 0x3f, 0xfe, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f, 0xfc, 0xff, 0xff, 0x3f, 0xf8, 0xff, 0xff, 0x1f, 0xf0, 0xff, 0xff, 0x0f, 0xf0, 0xff, 0xff, 0x5f, 0xf0, 0xff, 0xff, 0x3f, 0xf0, 0xff, 0xff, 0x7f, 0xf0, 0xff, 0xff, 0x3f, 0xf0, 0xff, 0xff, 0x3f, 0xf0, 0xff, 0xff, 0x3f, 0xf0, 0xff, 0xff, 0x3f, 0xf0, 0xff, 0xff, 0x7f, 0xd0, 0xe1, 0xdf, 0x1c, 0x00, 0xc0, 0x43, 0x00, 0x00, 0x80, 0x01, 0x00};