The Samba-Bugzilla – Attachment 1376 Details for
Bug 3004
utils/ntlm_auth_diagnostics.c: "unsigned char *" incompatible with "const char *"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Two fixes for ntlm_auth_diagnostics.c
ntlm.patch (text/plain), 880 bytes, created by
Jason Mader (mail bounces back)
on 2005-08-15 08:21:07 UTC
(
hide
)
Description:
Two fixes for ntlm_auth_diagnostics.c
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2005-08-15 08:21:07 UTC
Size:
880 bytes
patch
obsolete
>Index: utils/ntlm_auth_diagnostics.c >=================================================================== >--- utils/ntlm_auth_diagnostics.c (revision 9303) >+++ utils/ntlm_auth_diagnostics.c (working copy) >@@ -466,18 +466,17 @@ > > password = strdup_upper(opt_password); > >- if ((convert_string_allocate(NULL, CH_UNIX, >- CH_DOS, password, >- strlen(password)+1, >- (void**)&lm_response.data,True)) == -1) { >- DEBUG(0, ("push_ascii_allocate failed!\n")); >+ lm_response.length = convert_string_allocate(NULL, CH_UNIX, >+ CH_DOS, password, >+ strlen(password)+1, >+ (void**)&lm_response.data,True); >+ if (lm_response.length == -1) { >+ DEBUG(0, ("convert_string_allocate failed!\n")); > exit(1); > } > > SAFE_FREE(password); > >- lm_response.length = strlen(lm_response.data); >- > switch (break_which) { > case BREAK_NONE: > break;
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 3004
: 1376