mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0426: accessing invalid memory in SmcOpenConnection()
Problem: Accessing invalid memory in SmcOpenConnection(). Solution: Reduce size of errorstring by one. (Dominique Pelle, closes #3469)
This commit is contained in:
@@ -8032,7 +8032,7 @@ xsmp_init(void)
|
||||
&smcallbacks,
|
||||
NULL,
|
||||
&xsmp.clientid,
|
||||
sizeof(errorstring),
|
||||
sizeof(errorstring) - 1,
|
||||
errorstring);
|
||||
if (xsmp.smcconn == NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user