From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11181 Path: news.gmane.org!.POSTED!not-for-mail From: He X Newsgroups: gmane.linux.lib.musl.general Subject: Re: fallback to no translations when gettext("") Date: Thu, 23 Mar 2017 13:05:55 +0800 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1142f1782d7495054b5ed600 X-Trace: blaine.gmane.org 1490245596 23137 195.159.176.226 (23 Mar 2017 05:06:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Mar 2017 05:06:36 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11196-gllmg-musl=m.gmane.org@lists.openwall.com Thu Mar 23 06:06:31 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cqux9-00053W-1a for gllmg-musl@m.gmane.org; Thu, 23 Mar 2017 06:06:27 +0100 Original-Received: (qmail 5768 invoked by uid 550); 23 Mar 2017 05:06:30 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 5735 invoked from network); 23 Mar 2017 05:06:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=8FKsfdzJ7l/30j6Zh+QY4oM7LpEtjlIDIz6VZyflZC0=; b=prO+wfDFNb2zShit7M6CeYUNcCVq2dojQoReOcM+D3WXDNZGs5ZT/E8SSptqCJzSVv nOsd0O2GPaHLkhi6enanNjpfxYSsnSOwIWL+bUJqAoqCL7FLmTS5bGHKPm9LZKGeWHlT xOgsRqV/0QvoOVHx5EJJydZSrdQ6D0XDUDrxgINrmPDQhzPZ1VeQsZj1acsgGrneH415 258+smmfJzsY0iWqdQXo0GZNV9ss9xtYmPkSGcKmZXtEoSM0HuztLfeQMFP521aOSpG2 AFxE1buFepLNI/ZkkRSHJ0MuAnIE1tXuvcNTaXgeiOXoexZDqRZ1taOvyBi6aqNOxGka hK8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=8FKsfdzJ7l/30j6Zh+QY4oM7LpEtjlIDIz6VZyflZC0=; b=qGPa8MJdbPwHiS8/cIzhyS1XhJ8ok4PQn0CQpaFeHsIUppPtUfM7hw2Uwib+DuYIpi 1YW+eZ5UOU5p6O81SMlpHoMEKVADSNQkL79P0aQDFPzIi023T+f+rBBrzX3IGQPgm3yO aY93ulaiZRIvVKqbHzpQJivzfsYWL236uAQeGtG77Xh6fwZBzEjC0RLONFKO/W35mZbL iXbyqKENR6JLMJYdfYQGVvdWJD0OTSSYNJQcndGheXytzm1Pu6vNLsdCxLkHRxuMwZQ4 DshB6qwZhpw3RjJcKyYZZxV6dEnSS1rbCXQEIZx5Ki4ByGr9f1RXE1Y/mI/dRhVooxjX MRjA== X-Gm-Message-State: AFeK/H2WG/LE8Ip+u5yI1MVOSwwmFswj6XeQSZR8YmHDisFhfb58cr8xceVpaBDwejvDYfUXzBY0hnesgTaKuw== X-Received: by 10.31.59.197 with SMTP id i188mr273660vka.40.1490245575863; Wed, 22 Mar 2017 22:06:15 -0700 (PDT) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:11181 Archived-At: --001a1142f1782d7495054b5ed600 Content-Type: text/plain; charset=UTF-8 Hi, rich, happy that you merged the changes related to dcngettext(). But you seems forget this simple patch and did not get it with those changes. So i bump it again now. Hope you do not mind if you still remember it. He X 2017-03-04 16:08 GMT+08:00 He X : > following http://www.openwall.com/lists/musl/2017/02/13/8 , > http://www.openwall.com/lists/musl/2017/03/04/1 and > http://www.openwall.com/lists/musl/2017/02/13/5: > > > gnu tar showed me segfaults, because he passed a zero msgid1 causing > __mo_lookup segfault, we should add a check in dcngettext to avoid it(if > (!msgid1) goto notrans;): > > #2 0x00007ffff7d82a6f in dcngettext (domainname=0x6737a0 "tar", > msgid1=0x0, msgid2=0x0, n=1, > category=5) at src/locale/dcngettext.c:211 > > > --001a1142f1782d7495054b5ed600 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, rich, happy that you merged the changes related to dcn= gettext(). But you seems forget this simple patch and did not get it with t= hose changes. So i bump it again now. Hope you do not mind if you still rem= ember it.

He X
2017-03-04 16:08 GMT+08:00 He X <xw8970025= 28@gmail.com>:
following=C2=A0http://www.openwall.com/lists/musl/2017/02/13/8= ,http://www.openwall.com/lists/musl/2017/03/04/1 and=C2=A0=
> gnu tar showed m=
e segfaults, because he passed a zero msgid1 causing
__mo_lookup segfault, we should add a check in dcngettext to avoid it(if
(!msgid1) goto notrans;):

 #2  0x00007ffff7d82a6f in dcngettext (domainname=3D0x6737a0 "tar"=
;,
msgid1=3D0x0, msgid2=3D0x0, n=3D1,
    category=3D5) at src/locale/dcngettext.c:211

=

--001a1142f1782d7495054b5ed600--