]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
script: Fix buffer over and under flows in script_buftoenv master
authorRoy Marples <roy@marples.name>
Mon, 22 Jun 2026 20:14:11 +0000 (21:14 +0100)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2026 20:14:11 +0000 (21:14 +0100)
commit7240d8322e8017308907321d7e24e714cedb371f
tree43641fc7c1b83c80f9eb295621f4a084283f4363
parent7891a22dc316e1e3337c459ce8af7073582bdbc4
script: Fix buffer over and under flows in script_buftoenv

Enforce we have a buffer and it is terminated.
Rework code so that we no longer assert.

Reported by NVIDIA Project Vanessa
src/script.c