]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1324: undefined behaviour if X11 connection dies v9.1.1324
authorFoxe Chen <chen.foxe@gmail.com>
Sat, 19 Apr 2025 09:25:18 +0000 (11:25 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 19 Apr 2025 09:25:18 +0000 (11:25 +0200)
commit6924eb81f4e69726f59eaa0c121b7442343d770d
tree16fd7533e3540960b269cc9fc210624236e70476
parentbaa8c90cc0d214e036a3a7980d5cf95cae88a68d
patch 9.1.1324: undefined behaviour if X11 connection dies

Problem:  undefined behaviour if X11 connection dies
Solution: call setjmp() before the main_loop() and restore x11 state
          if the X11 connection dies (Foxe Chen)

fixes: #698
closes: #17142

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/main.c
src/version.c