diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-29 09:16:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-29 09:16:49 +0100 |
commit | b2d3769042cfd3d8ceadaa52f6a5aafabb0d4114 (patch) | |
tree | 4fcc91b967ba153d4030d61e10f1b07b53755488 /x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch | |
parent | 2d3042634af4767714cb90eff3f773ef54afb5ed (diff) |
gentoo auto-resync : 29:05:2023 - 09:16:49
Diffstat (limited to 'x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch')
-rw-r--r-- | x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch b/x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch deleted file mode 100644 index b3787dd58459..000000000000 --- a/x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/app.cpp 2015-09-14 12:00:00.460481656 -0400 -+++ b/app.cpp 2015-09-14 14:41:10.970536588 -0400 -@@ -606,9 +606,9 @@ - - n++; - -- child_env = static_cast<char**>(malloc(sizeof(char*)*n)); -- memcpy(child_env, old_env, sizeof(char*)*n+1); -- child_env[n - 1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie()); -+ child_env = static_cast<char**>(malloc(sizeof(char*)*(n+1))); -+ memcpy(child_env, old_env, sizeof(char*)*n); -+ child_env[n-1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie()); - child_env[n] = NULL; - } - # endif /* USE_CONSOLEKIT */ |