Bugzilla – Attachment 3243 Details for
Bug 2969
[PATCH] Protect rmdir() with temporarily_use_uid() in session.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Protect rmdir() with temporarily_use_uid() in session.c
protect_rmdir.patch (text/plain), 328 bytes, created by
Erik Sjölund
on 2019-02-12 05:55:10 AEDT
(
hide
)
Description:
Protect rmdir() with temporarily_use_uid() in session.c
Filename:
MIME Type:
Creator:
Erik Sjölund
Created:
2019-02-12 05:55:10 AEDT
Size:
328 bytes
patch
obsolete
>--- ssh.orig/session.c 2019-02-11 19:14:26.574862184 +0100 >+++ ssh/session.c 2019-02-11 19:15:21.874714458 +0100 >@@ -218,7 +218,9 @@ > authsock_err: > free(auth_sock_name); > if (auth_sock_dir != NULL) { >+ temporarily_use_uid(pw); > rmdir(auth_sock_dir); >+ restore_uid(); > free(auth_sock_dir); > } > if (sock != -1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2969
: 3243