view src/pathdef.sh @ 33154:faeeed7df688 v9.0.1859

patch 9.0.1859: heap-use-after-free in bt_normal() Commit: https://github.com/vim/vim/commit/6e60cf444a8839ca1694319bf9a82e7b097e5c4d Author: Christian Brabandt <cb@256bit.org> Date: Sun Sep 3 21:43:46 2023 +0200 patch 9.0.1859: heap-use-after-free in bt_normal() Problem: heap-use-after-free in bt_normal() Solution: check that buffer is still valid Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 03 Sep 2023 22:00:02 +0200
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: