vim --clean -N
:set shellpipe=%s%s%s%s%s%s%s%s
:make
This triggers a crash as append_redir() uses user options as a snprintf format string without verification. The above example is quite silly just to maximize the chance of demonstrating a segfault, but even an innocent mistake like set shellpipe=2> %s|tee %s is enough to trigger UB and a possible crash.
This is not a security issue, as 'shellpipe' is already disabled in modeline.
no crash. (possibly an error when setting the option to an invalid value)
version 9.2.449
arch linux, gcc 15.2.1
pangoterm
TERM=xterm
/bin/zsh
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()