From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115801 invoked by alias); 20 Dec 2019 15:40:27 -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 115791 invoked by uid 89); 20 Dec 2019 15:40:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:722, our X-HELO: mail-il1-f177.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=X/98WR+CgpjzYNauVvGfz+MLf6tgfNJqI6YCYHqs/38=; b=L+p6HomyBVd98TYkVGM2vrPUogp2cfELqQG5h1Kxl24gMfwj0pfKNkga+HpGB75X0/ sQjKieMTz3GPJbYiaqh2eHUQSYSp1mBiK5ANvy/C8Pqj49/jTfOlQ5O4pX4Sltls3kuh laBACVWt9KropNNAxrNr1KwP8cUrpuojmxV/TivWXSDCpXrA78DeS7BSo6F2GULvomcg tWiKbjy7/k0kgxbxi5L0dGljPKMrHnyfvY2gCvVaQ88f7v1fo3wrRXAsBbyZQ5EF11PS jTe1abZCKCKklmbo+GRd7hE+dsQfmAzQSQZmYCfGfb/ugU51qlF73Mvyb4eUL/lrmeUM 4Zhw== MIME-Version: 1.0 References: <87bltiv10t.fsf@oldenburg2.str.redhat.com> <877e42cqfo.fsf@oldenburg2.str.redhat.com> <875ziledsy.fsf@oldenburg2.str.redhat.com> <87mubngh8e.fsf@oldenburg2.str.redhat.com> In-Reply-To: <87mubngh8e.fsf@oldenburg2.str.redhat.com> From: Abhidnya Joshi Date: Fri, 20 Dec 2019 15:40:00 -0000 Message-ID: Subject: Re: Crash in gconv_db.c To: Florian Weimer Cc: libc-locales@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-q4/txt/msg00096.txt.bz2 Its not glibc readdir. It just readdir call on wire (SMB client and server). We internally call iconv_open in our dir listing. Thanks and Regards Abhidnya Joshi On Fri, Dec 20, 2019 at 8:46 PM Florian Weimer wrote: > > * 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 >