The Samba-Bugzilla – Attachment 1963 Details for
Bug 3587
Locking problem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch...
secrets.diff (text/plain), 782 bytes, created by
Volker Lendecke
on 2006-06-14 05:44:48 UTC
(
hide
)
Description:
Proposed patch...
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2006-06-14 05:44:48 UTC
Size:
782 bytes
patch
obsolete
>Index: passdb/secrets.c >=================================================================== >--- passdb/secrets.c (Revision 16196) >+++ passdb/secrets.c (Revision 16197) >@@ -1174,8 +1174,6 @@ > return False; > } > >- tdb_close(tdb_sc); >- > pdc = TALLOC_ZERO_P(mem_ctx, struct dcinfo); > > /* Retrieve the record. */ >@@ -1193,6 +1191,7 @@ > if (ret == -1 || l1 != 8 || l2 != 8 || l3 != 8 || l4 != 16 || l5 != 16) { > /* Bad record - delete it. */ > tdb_delete_bystring(tdb_sc, keystr); >+ tdb_close(tdb_sc); > TALLOC_FREE(keystr); > TALLOC_FREE(pdc); > SAFE_FREE(pseed_chal); >@@ -1204,6 +1203,8 @@ > return False; > } > >+ tdb_close(tdb_sc); >+ > memcpy(pdc->seed_chal.data, pseed_chal, 8); > memcpy(pdc->clnt_chal.data, pclnt_chal, 8); > memcpy(pdc->srv_chal.data, psrv_chal, 8);
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 3587
:
1777
|
1886
|
1962
| 1963 |
1990