From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79292 invoked by alias); 20 Dec 2019 15:16:32 -0000 Mailing-List: contact libc-locales-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-locales-owner@sourceware.org Received: (qmail 79278 invoked by uid 89); 20 Dec 2019 15:16:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=HX-Languages-Length:457, our X-HELO: us-smtp-delivery-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576854989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pI179eTaUiUQPBYkdlCZSHar30SYGdlOgARfgYJDNXU=; b=MHsivYq2lpR2Aaw0dprm+iDx7ZZB+tGhzMnn6zppSp6TMGsSEAIFA1Eera1LeaMOPEBcOW +GZyo9fm5i6zsVoSxCxhbXsYEt4pPMCkW2rFDixNBmQ+I+pXXWabboRBPvShyVdujOQxlq ZKlYni19qcdECN73WZOJYbpm/DVxFRI= From: Florian Weimer To: Abhidnya Joshi Cc: libc-locales@sourceware.org Subject: Re: Crash in gconv_db.c References: <87bltiv10t.fsf@oldenburg2.str.redhat.com> <877e42cqfo.fsf@oldenburg2.str.redhat.com> <875ziledsy.fsf@oldenburg2.str.redhat.com> Date: Fri, 20 Dec 2019 15:16:00 -0000 In-Reply-To: (Abhidnya Joshi's message of "Fri, 20 Dec 2019 20:34:52 +0530") Message-ID: <87mubngh8e.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-q4/txt/msg00095.txt.bz2 * Abhidnya Joshi: > Good News! We are able to reproduce it using continuous readdirs. > (Where reply involved encoding to UTF-16) > The stack is exactly same as shared earlier. It did overflowed counter. > > Do you have any suggestion on the fix? We can test the fix using our test. glibc's readdir does not perform UTF-16 conversion. Could you come up with an actual reproducer? Then we can likely fix this bug. Thanks, Florian