Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115586696
D46285.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
371 B
Referenced Files
None
Subscribers
None
D46285.diff
View Options
diff --git a/lib/libpam/modules/pam_xdg/pam_xdg.c b/lib/libpam/modules/pam_xdg/pam_xdg.c
--- a/lib/libpam/modules/pam_xdg/pam_xdg.c
+++ b/lib/libpam/modules/pam_xdg/pam_xdg.c
@@ -108,6 +108,7 @@
goto out;
}
} else {
+ close(rt_dir);
/* Check that the already create dir is correctly owned */
rv = fstatat(rt_dir_prefix, user, &sb, 0);
if (rv == -1) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 5:19 PM (12 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17807172
Default Alt Text
D46285.diff (371 B)
Attached To
Mode
D46285: pam_xdg: Fix user xdg runtime directory's descriptor leak
Attached
Detach File
Event Timeline
Log In to Comment