From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id CD0B51F462 for ; Fri, 26 Jul 2019 07:03:31 +0000 (UTC) Received: from localhost ([::1]:36896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hquGI-0007ko-CX for normalperson@yhbt.net; Fri, 26 Jul 2019 03:03:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55245) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hquGE-0007ki-Fz for bug-gnulib@gnu.org; Fri, 26 Jul 2019 03:03:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hquGD-0005xg-5B for bug-gnulib@gnu.org; Fri, 26 Jul 2019 03:03:26 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:50604) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hquGC-0005lJ-UQ for bug-gnulib@gnu.org; Fri, 26 Jul 2019 03:03:25 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id BC22B1626AA; Fri, 26 Jul 2019 00:03:20 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id gMMsxR0EDhKF; Fri, 26 Jul 2019 00:03:19 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C61761626EB; Fri, 26 Jul 2019 00:03:19 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EZi2E5u68XiY; Fri, 26 Jul 2019 00:03:19 -0700 (PDT) Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 8B8D31626AA; Fri, 26 Jul 2019 00:03:19 -0700 (PDT) Subject: Re: regex: avoid memory leak To: Bruno Haible References: <15819003.QUfdhuhlib@omega> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Fri, 26 Jul 2019 00:03:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <15819003.QUfdhuhlib@omega> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" I think there's a related memory bug nearby. See: https://sourceware.org/bugzilla/show_bug.cgi?id=24844 glibc is currently frozen, and I plan to install that patch into glibc after the next glibc release comes out, and then propagate the patch into gnulib. Comments welcome.