The Samba-Bugzilla – Attachment 5727 Details for
Bug 7448
smbd crash when sambaLMPassword and sambaNTPassword entries missing from ldap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix segfault at authentication when nt_pw is NULL v2
samba-3.5.3-auth_sam-check-nt_pw_v2.patch (text/plain), 487 bytes, created by
Roel van Meer
on 2010-05-21 06:45:17 UTC
(
hide
)
Description:
Fix segfault at authentication when nt_pw is NULL v2
Filename:
MIME Type:
Creator:
Roel van Meer
Created:
2010-05-21 06:45:17 UTC
Size:
487 bytes
patch
obsolete
>diff -ruN samba-3.5.3.a/source3/auth/auth_sam.c samba-3.5.3.b/source3/auth/auth_sam.c >--- samba-3.5.3.a/source3/auth/auth_sam.c 2010-05-17 13:51:23.000000000 +0200 >+++ samba-3.5.3.b/source3/auth/auth_sam.c 2010-05-21 13:40:37.437251107 +0200 >@@ -78,6 +78,9 @@ > } > > if (client_lm_hash || client_nt_hash) { >+ if (!nt_pw) { >+ return NT_STATUS_WRONG_PASSWORD; >+ } > *user_sess_key = data_blob_talloc(mem_ctx, NULL, 16); > if (!user_sess_key->data) { > return NT_STATUS_NO_MEMORY;
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 7448
:
5726
| 5727 |
5731