Mercurial > vim
view src/tee/Makefile @ 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 | c2fbac867d9c |
children | ba9d53c7c509 |
line wrap: on
line source
# A very (if not the most) simplistic Makefile for MS-Windows and OS/2 CC=gcc CFLAGS=-O2 -fno-strength-reduce ifneq (sh.exe, $(SHELL)) DEL = rm -f else DEL = del endif tee.exe: tee.o $(CC) $(CFLAGS) -s -o $@ $< tee.o: tee.c $(CC) $(CFLAGS) -c $< clean: - $(DEL) tee.o - $(DEL) tee.exe