FreeBSD Bugzilla – Attachment 94201 Details for
Bug 132302
[patch] smbutil(1): contrib/smbfs subr.c: saved passwords >18 char fail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 505 bytes, created by
David Horn
on 2009-03-04 09:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
David Horn
Created:
2009-03-04 09:10:01 UTC
Size:
505 bytes
patch
obsolete
>--- subr.c~ 2001-12-20 11:16:25.000000000 -0500 >+++ subr.c 2009-03-04 03:29:07.000000000 -0500 >@@ -232,6 +232,7 @@ > islower(ch) ? ('a' + (ch - 'a' + 13) % 26) : ch); > ch ^= pos; > pos += 13; >+ if (pos > 248) pos -= 220; > sprintf(dst, "%02x", ch); > dst += 2; > } >@@ -262,6 +263,7 @@ > return EINVAL; > ch ^= pos; > pos += 13; >+ if (pos > 248) pos -= 220; > if (isascii(ch)) > ch = (isupper(ch) ? ('A' + (ch - 'A' + 13) % 26) : > islower(ch) ? ('a' + (ch - 'a' + 13) % 26) : ch);
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 132302
: 94201