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: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (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 96FB01F463 for ; Thu, 2 Jan 2020 10:55:06 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:from:to:cc:references:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=xzjIlJp2318yhjHv 9utx1x5Ki9P/XEtfwH0vcM/14biQ9BlIMyRWzL7XSTv9xdWs9GsJ3gn3JTJ27Yhu O5grfSjdwY1SVfp+FR5wTbY3YOHdghrI2yUCdYhxU7BR86ohzIkGgNhnfIxGHPaA tJJsfivCOp8ulTf6kWzyPTsOYkA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:from:to:cc:references:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=5hcqreodPIpMveeeCse7c/ T4i7M=; b=EIF1tbMIPMxX1j+AdU5Fgejs9vnBojnoy9Kmzk+AeyzpX06oNa6nsv zIl2uXIewGf0JHWTXATguAAWbEyyTUV09LI4W+zJb+PoXORnw8PM/xnO66Usix8t 1mHjLtH2RvVtCeXW+uvggOd3NJx+WRjf9x+AzJaVxxpl+z71xqvBY= Received: (qmail 120344 invoked by alias); 2 Jan 2020 10:55:04 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 120329 invoked by uid 89); 2 Jan 2020 10:55:03 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: huawei.com Subject: question about regex From: liqingqing To: , Florian Weimer , "Carlos O'Donell" CC: Hushiyuan , Liusirui References: Message-ID: Date: Thu, 2 Jan 2020 18:54:50 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello Florian and all glibc developers. I wonder ask you that do we have any plan or good ways to fix up the bug as below: https://sourceware.org/bugzilla/show_bug.cgi?id=24269 Dhiraj 2019-02-26 06:24:20 UTC While fuzzing the regex module via hongfuzz $ echo D | grep -E "$(printf '(\0|)(\\1\\1)*')" bash: warning: command substitution: ignored null byte in input Segmentation fault (core dumped) ==6453== Process terminating with default action of signal 13 (SIGPIPE) ==6453== at 0x4F4C154: write (write.c:27) ==6453== by 0x4EC71BC: _IO_file_write@@GLIBC_2.2.5 (fileops.c:1203) ==6453== by 0x4EC8F50: new_do_write (fileops.c:457) ==6453== by 0x4EC8F50: _IO_do_write@@GLIBC_2.2.5 (fileops.c:433) ==6453== by 0x4EC6787: _IO_file_sync@@GLIBC_2.2.5 (fileops.c:813) ==6453== by 0x4EBA87C: fflush (iofflush.c:40) ==6453== by 0x10CE73: ??? (in /bin/echo) ==6453== by 0x10C939: ??? (in /bin/echo) ==6453== by 0x10A221: ??? (in /bin/echo) ==6453== by 0x4E7F040: __run_exit_handlers (exit.c:108) ==6453== by 0x4E7F139: exit (exit.c:139) ==6453== by 0x4E5DB9D: (below main) (libc-start.c:344) ==6453== OS: Linux ubuntu 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux