The Samba-Bugzilla – Attachment 5946 Details for
Bug 7531
3.5.3 unusable on solaris 10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.5
0001-s3-Fix-the-charset_pull-routine.patch (text/plain), 990 bytes, created by
Volker Lendecke
on 2010-09-06 08:54:12 UTC
(
hide
)
Description:
Patch for 3.5
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2010-09-06 08:54:12 UTC
Size:
990 bytes
patch
obsolete
>From 6ba9384bc105fe6eb686e81dacb764ee324551ff Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Mon, 6 Sep 2010 15:13:48 +0200 >Subject: [PATCH] s3: Fix the charset_pull routine > >In the push routine we do the SVAL, so we should do the SSVAL here. >--- > lib/util/charset/charset.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/lib/util/charset/charset.h b/lib/util/charset/charset.h >index 68907aa..bd08f7e 100644 >--- a/lib/util/charset/charset.h >+++ b/lib/util/charset/charset.h >@@ -266,7 +266,7 @@ static size_t CHARSETNAME ## _pull(void *cd, const char **inbuf, size_t *inbytes > char **outbuf, size_t *outbytesleft) \ > { \ > while (*inbytesleft >= 1 && *outbytesleft >= 2) { \ >- *(uint16*)(*outbuf) = to_ucs2[((unsigned char*)(*inbuf))[0]]; \ >+ SSVAL(*outbuf, 0, to_ucs2[((unsigned char*)(*inbuf))[0]]); \ > (*inbytesleft) -= 1; \ > (*outbytesleft) -= 2; \ > (*inbuf) += 1; \ >-- >1.7.0.4 >
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
Flags:
jra
:
review+
Actions:
View
Attachments on
bug 7531
: 5946