From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 184303858D35 for ; Fri, 14 Jan 2022 13:28:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 184303858D35 Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-274-9LnAdcMKPVCxdW0XI7euJg-1; Fri, 14 Jan 2022 08:28:45 -0500 X-MC-Unique: 9LnAdcMKPVCxdW0XI7euJg-1 Received: by mail-qk1-f198.google.com with SMTP id p203-20020a3742d4000000b00477981b71e1so7270409qka.16 for ; Fri, 14 Jan 2022 05:28:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AX87anBT8HvCgt8YHOFRyNFI+Xx92tMtlRqQhQOq9FQ=; b=uZGlT+NLo5JetzX/cj7gRnPu/b3sUiG+aIDBLeFb4sPa1KY2aFDoI08Nh2jA33aucR zc0VPh89Adhsl9O7/E/2OqnAi0Slwf5GJz1uqMsZbsL8Qojt/y7GZCM2an5JuxJ+CCsK jdUXkMCiDDStnz/gJSyyKQwSUWPebyCnxd1MT/fUlqMloJBXorq5Q6EiCwFiR6bGh2kE L8a+iexreSH74pj28l0kyAkWexax1Uhzuhux9siZdrKh0THzejk1OcJ3cMALTNJvH885 N218HWwLWHe+3gfqlEtQCxUu7wZkTmmz7u3yh5CRhdr50XVqrlclk2mnx/0XlQ6xjCtJ W2Fw== X-Gm-Message-State: AOAM532aSv2JUI62B0wVj3j6IIfVwfeRnlAu2MgFk5rfPXSdEhvkjrko oFY35669xATee2pFLsTqDLigFWHytWmWdIalKmYAibUub1x8OGsRXuB+NmCLSMHPVpZ2vxds6n2 YFtI1fwZBJIJ7og8NJg== X-Received: by 2002:a05:6214:1c4d:: with SMTP id if13mr738631qvb.89.1642166924652; Fri, 14 Jan 2022 05:28:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGaea6GKxyRgTpwPk7q+Qrzcdn64SqmBtzTdoSuzup3dQ1y9TCOqQrYxni8KEx6kyvkC2AyA== X-Received: by 2002:a05:6214:1c4d:: with SMTP id if13mr738614qvb.89.1642166924409; Fri, 14 Jan 2022 05:28:44 -0800 (PST) Received: from redhat.com ([2601:184:4780:4310::7156]) by smtp.gmail.com with ESMTPSA id q7sm3699900qkl.72.2022.01.14.05.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jan 2022 05:28:43 -0800 (PST) Date: Fri, 14 Jan 2022 08:28:42 -0500 From: Marek Polacek To: Stephan Bergmann Cc: Jakub Jelinek , Martin Sebor , GCC Patches , Joseph Myers Subject: Re: [PATCH] libcpp: Implement -Wbidi-chars for CVE-2021-42574 [PR103026] Message-ID: References: <49fc8d97-4cc7-5c78-d65a-02ea1419f483@gmail.com> <1ab9d323-af24-c2a0-0c6a-596b3f68c605@redhat.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/2.1.5 (2021-12-30) X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2022 13:28:50 -0000 On Fri, Jan 14, 2022 at 10:23:16AM +0100, Stephan Bergmann wrote: > On 30/11/2021 16:27, Marek Polacek wrote: > > I guess we were concerned with programs that generate other programs. > > Maybe UCNs should be ignored by default. There's still time to adjust > > the behavior. > > Is there any update on this? Shall I file a bug? As-is, -Wbidi-chars is > unusable for building LibreOffice and (esp. in combination with > "C++ preprocessor > ignores #pragma GCC diagnostic") has to be explicitly disabled globally. No update, it wasn't clear to me what the action should be here. Please do file a bug. I think I'll just have to adjust the warning to ignore UCNs. Marek