The Samba-Bugzilla – Attachment 7385 Details for
Bug 8811
sd_has_inheritable_components segfaults on an SD that se_access_check accepts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch ?
look (text/plain), 489 bytes, created by
Jeremy Allison
on 2012-03-13 23:48:31 UTC
(
hide
)
Description:
Proposed patch ?
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-03-13 23:48:31 UTC
Size:
489 bytes
patch
obsolete
>diff --git a/libcli/security/secdesc.c b/libcli/security/secdesc.c >index fcd0828..84128e4 100644 >--- a/libcli/security/secdesc.c >+++ b/libcli/security/secdesc.c >@@ -542,6 +542,10 @@ bool sd_has_inheritable_components(const struct security_descriptor *parent_ctr, > unsigned int i; > const struct security_acl *the_acl = parent_ctr->dacl; > >+ if (the_acl == NULL) { >+ return false; >+ } >+ > for (i = 0; i < the_acl->num_aces; i++) { > const struct security_ace *ace = &the_acl->aces[i]; >
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 Raw
Actions:
View
Attachments on
bug 8811
:
7385
|
7397
|
7412