view ci/load-snd-dummy.sh @ 29056:485619e7f836 v8.2.5050

patch 8.2.5050: using freed memory when searching for pattern in path Commit: https://github.com/vim/vim/commit/409510c588b1eec1ae33511ae97a21eb8e110895 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 1 15:23:13 2022 +0100 patch 8.2.5050: using freed memory when searching for pattern in path Problem: Using freed memory when searching for pattern in path. Solution: Make a copy of the line.
author Bram Moolenaar <Bram@vim.org>
date Wed, 01 Jun 2022 16:30:02 +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