From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33058 invoked by alias); 14 Nov 2019 17:34:43 -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 33046 invoked by uid 89); 14 Nov 2019 17:34:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573752880; 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=bx0VppweG3RFfwSu6WkQA17zxIOXXW01weK+hhtCxU8=; b=JYmlxBn/WUHvHHrAal+jqrPJSzOJk59n3NYNOkOOeTPOU7qMmUchV8N+gHA90YerLvRPm7 4qT9UO3njo8HTaqwTFodcCKSjBIBIfwFaF0UzP1OcJm2MLOVoh6NPQqPXdjvAfS+wsAw+q efvbPpBY4PTCMOfryuYTKCmqSm0L75s= 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> Date: Thu, 14 Nov 2019 17:34:00 -0000 In-Reply-To: (Abhidnya Joshi's message of "Thu, 14 Nov 2019 23:02:05 +0530") Message-ID: <877e42cqfo.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-q4/txt/msg00070.txt.bz2 * Abhidnya Joshi: > Is there a possibility of integer overflow? I can see that counter > keeps increasing even after icon_open, iconv and iconv_close is used > in a sequence but multiple times for encoding. There could be. The reference counter handling is strange. I haven't seen this particular bug, but I wouldn't be surprised if it existed. Thanks, Florian