Mercurial > vim
view src/pathdef.sh @ 13109:fb1b162cdcf6 v8.0.1429
patch 8.0.1429: crash when calling term_start() with empty argument
commit https://github.com/vim/vim/commit/ede35bbbd05306097bf3f4d603f2248ed1f4c5f1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 26 20:05:18 2018 +0100
patch 8.0.1429: crash when calling term_start() with empty argument
Problem: Crash when calling term_start() with empty argument.
Solution: Check for invalid argument. (Yasuhiro Matsomoto, closes https://github.com/vim/vim/issues/2503)
Fix memory leak.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 26 Jan 2018 20:15:06 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et: