FreeBSD Bugzilla – Attachment 172760 Details for
Bug 211195
pw userdel Segmentation fault (core dumped)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 211195
211195.patch (text/plain), 350 bytes, created by
rday
on 2016-07-20 21:58:51 UTC
(
hide
)
Description:
Patch for 211195
Filename:
MIME Type:
Creator:
rday
Created:
2016-07-20 21:58:51 UTC
Size:
350 bytes
patch
obsolete
>diff --git a/usr.sbin/pw/rm_r.c b/usr.sbin/pw/rm_r.c >index 172c7b0..d02e208 100644 >--- a/usr.sbin/pw/rm_r.c >+++ b/usr.sbin/pw/rm_r.c >@@ -50,6 +50,9 @@ rm_r(int rootfd, const char *path, uid_t uid) > path++; > > dirfd = openat(rootfd, path, O_DIRECTORY); >+ if (dirfd<0) { >+ return; >+ } > > d = fdopendir(dirfd); > while ((e = readdir(d)) != NULL) {
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 211195
: 172760