* a bug in bindtextdomain() and strip '.UTF-8'
@ 2017-01-20 11:11 He X
0 siblings, 0 replies; 3+ messages in thread
From: He X @ 2017-01-20 11:11 UTC (permalink / raw)
To: musl
[-- Attachment #1: Type: text/plain, Size: 425 bytes --]
sorry for my poor english :D
first, it's not p->domainname but q->domainname in dcngettext:77.
second, any news about http://www.openwall.com/lists/musl/2016/05/11/81?
strip '.UTF-8' is important, i think.
irc log:
18:58 < xhe> @dalias: i must found a bug in bindtextdomain(), and also the
improvement about stripping '.UTF-8' should be merged(my code sucks,
that's for my tests), detailed: http://pastebin.com/3C2APqMH
[-- Attachment #2: Type: text/html, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* a bug in bindtextdomain() and strip '.UTF-8'
@ 2017-01-20 11:25 He X
2017-01-29 4:52 ` He X
0 siblings, 1 reply; 3+ messages in thread
From: He X @ 2017-01-20 11:25 UTC (permalink / raw)
To: musl
[-- Attachment #1: Type: text/plain, Size: 425 bytes --]
sorry for my poor english :D
first, it's not p->domainname but q->domainname in dcngettext:77.
second, any news about http://www.openwall.com/lists/musl/2016/05/11/81?
strip '.UTF-8' is important, i think.
irc log:
18:58 < xhe> @dalias: i must found a bug in bindtextdomain(), and also the
improvement about stripping '.UTF-8' should be merged(my code sucks,
that's for my tests), detailed: http://pastebin.com/3C2APqMH
[-- Attachment #2: Type: text/html, Size: 1173 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: a bug in bindtextdomain() and strip '.UTF-8'
2017-01-20 11:25 He X
@ 2017-01-29 4:52 ` He X
0 siblings, 0 replies; 3+ messages in thread
From: He X @ 2017-01-29 4:52 UTC (permalink / raw)
To: musl
[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]
found two more bugs related to intl:
1. no memset after malloc, caused chromium crash:
http://www.openwall.com/lists/musl/2017/01/28/1
--- musl-1.1.16/src/locale/dcngettext.c 2017-01-29 04:42:49.002221317 +0000
+++ musl-1.1.16/src/locale/dcngettext.c 2017-01-29 04:42:49.002221317 +0000
@@ -180,6 +180,7 @@
__munmap((void *)map, map_size);
goto notrans;
}
+ memset(p, 0, sizeof *p + namelen + 1);
p->map = map;
p->map_size = map_size;
memcpy(p->name, name, namelen+1);
2. musl uses generic config of libstdc++, which blocked the support of
locale, patch is there:
https://github.com/xhebox/noname-linux/issues/2#issuecomment-275704150
2017-01-20 19:25 GMT+08:00 He X <xw897002528@gmail.com>:
> sorry for my poor english :D
>
> first, it's not p->domainname but q->domainname in dcngettext:77.
>
> second, any news about http://www.openwall.com/lists/musl/2016/05/11/81?
> strip '.UTF-8' is important, i think.
>
> irc log:
> 18:58 < xhe> @dalias: i must found a bug in bindtextdomain(), and also the
> improvement about stripping '.UTF-8' should be merged(my code sucks,
> that's for my tests), detailed: http://pastebin.com/3C2APqMH
>
[-- Attachment #2: Type: text/html, Size: 3170 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-29 4:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20 11:11 a bug in bindtextdomain() and strip '.UTF-8' He X
2017-01-20 11:25 He X
2017-01-29 4:52 ` He X
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).