The Samba-Bugzilla – Attachment 4432 Details for
Bug 6554
Wrong deallocation in sam_account_ok
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Tidyup.
look (text/plain), 654 bytes, created by
Jeremy Allison
on 2009-07-16 11:52:29 UTC
(
hide
)
Description:
Tidyup.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-07-16 11:52:29 UTC
Size:
654 bytes
patch
obsolete
>diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c >index a2634fe..0ad9c42 100644 >--- a/source3/auth/auth_sam.c >+++ b/source3/auth/auth_sam.c >@@ -226,7 +226,7 @@ static NTSTATUS sam_account_ok(TALLOC_CTX *mem_ctx, > > if (*workstation_list) { > bool invalid_ws = True; >- char *tok; >+ char *tok = NULL; > const char *s = workstation_list; > > const char *machine_name = talloc_asprintf(mem_ctx, "%s$", user_info->wksta_name); >@@ -251,6 +251,7 @@ static NTSTATUS sam_account_ok(TALLOC_CTX *mem_ctx, > TALLOC_FREE(tok); > } > TALLOC_FREE(tok); >+ TALLOC_FREE(machine_name); > > if (invalid_ws) > return NT_STATUS_INVALID_WORKSTATION;
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 6554
: 4432