FreeBSD Bugzilla – Attachment 141286 Details for
Bug 188036
mblen(3) in EUC locales causes crash and segmentation fault.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 448 bytes, created by
Tomohisa Tanaka
on 2014-03-28 22:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Tomohisa Tanaka
Created:
2014-03-28 22:30:00 UTC
Size:
448 bytes
patch
obsolete
>diff -ur /usr/src/lib/libc/locale/euc.c locale/euc.c >--- /usr/src/lib/libc/locale/euc.c 2013-09-27 10:07:50.000000000 +0900 >+++ locale/euc.c 2014-03-29 06:16:10.000000000 +0900 >@@ -134,7 +134,8 @@ > return (ps == NULL || ((const _EucState *)ps)->want == 0); > } > >-#define CEI ((_EucInfo *)(_CurrentRuneLocale->__variable)) >+#define CEI \ >+ ((_EucInfo *)(XLOCALE_CTYPE(__get_locale())->runes->__variable)) > > #define _SS2 0x008e > #define _SS3 0x008f
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 188036
: 141286 |
141287
|
141288