Mercurial > vim
view ci/load-snd-dummy.sh @ 29763:c0debb5290b5 v9.0.0221
patch 9.0.0221: accessing freed memory if compiling nested function fails
Commit: https://github.com/vim/vim/commit/1889f499a4f248cd84e0e0bf6d0d820016774494
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 16 19:34:44 2022 +0100
patch 9.0.0221: accessing freed memory if compiling nested function fails
Problem: Accessing freed memory if compiling nested function fails.
Solution: Mess up the variable name so that it won't be found.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Aug 2022 20:45:03 +0200 |
parents | 3a7017ee1161 |
children |
line wrap: on
line source
#!/bin/bash set -e if ! modprobe snd-dummy; then # snd-dummy is contained in linux-modules-extra (if exists) apt-get install -yq --no-install-suggests --no-install-recommends "linux-modules-extra-$(uname -r)" modprobe snd-dummy fi