From patchwork Sun Mar 7 22:10:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahamed Husni X-Patchwork-Id: 1448766 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=VhL2fTZZ; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Dtwdn3Fsmz9sSC for ; Mon, 8 Mar 2021 09:10:35 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EB0B03851C2A; Sun, 7 Mar 2021 22:10:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB0B03851C2A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1615155033; bh=u8VuUVlaAkJKKW4cCPqrk4my0jASFGscT3vxiWX34T8=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=VhL2fTZZciwaBaTRDVqCAxql/bBJgmWmswic4l1EVrpH7nIk8D/ITQGSOq9AWji3V kMTuObPcSnOGO0/NK0KshJxH+q01gsn5l4B2r7/dM6mnBJK8GrvF1uYizxqulAN6Fe upRCjXpqd4WC/j2/c0b9GUwOr2+0x7rs9vsYUG6Q= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by sourceware.org (Postfix) with ESMTPS id 01CE93854833 for ; Sun, 7 Mar 2021 22:10:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 01CE93854833 Received: by mail-ej1-x62d.google.com with SMTP id lr13so16436535ejb.8 for ; Sun, 07 Mar 2021 14:10:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bPc4zW+w7Tj4XZxW1FywOvXH0GKTvWO4Y+9MeQSc9KA=; b=YydPZ9x67nShWuxw35gBgbFaoFZaVhLig5545AzK0LOneBmiuFw+bW5dEwJBiwyiFE KxTu/D6Hu0emhhmKRTsn7Pg53mAd5zrF10xExHLpNDURSbtxmAnhWBsw3Ai2GQe95CEB xegi8adgfy4fbWmWdb+j7l6mOVEMsJS1UTGBYWzuculnXdMhJkqBt/DDGe5ngEa9hDGm V8zseAC8/STQ86WwGoAD6fVPT5c+AAdElXtDOQmuGNm+4W9DL5B7alo366Jiq8ZPJLgN pi8/6doxck3n4VTSFwtKe97uP4aKjN+TzMmSRYw/1Bwp8c07Y9JjxkLgYtTGqCB6MYfn ALYw== X-Gm-Message-State: AOAM530hbyHqpDHozcTNEjn06rCE3iYG3HPgifYlAdEQzkSyu4Ke0jo+ YVGEFLvuwm4jz19MMq9kAWuHlcEEklG8l3A2QNA4A41x9jC9hQ== X-Google-Smtp-Source: ABdhPJw/y0w3rluWrtDasecwyGaAz3reY7Ja99WP0zC2Bmir2DyH3rHBMKdIhtmNFmWlrV1bUn2yB0Dmbm4a2rLEyow= X-Received: by 2002:a17:907:7249:: with SMTP id ds9mr12438013ejc.9.1615155028666; Sun, 07 Mar 2021 14:10:28 -0800 (PST) MIME-Version: 1.0 Date: Mon, 8 Mar 2021 03:40:16 +0530 Message-ID: Subject: [PATCH] Fix typo in gcc/asan.c comment To: gcc-patches@gcc.gnu.org X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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-Patchwork-Original-From: Ahamed Husni via Gcc-patches From: Ahamed Husni Reply-To: Ahamed Husni Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" Hi all, This is my first contribution for an open source project. Please guide me if anything is missing. Author: Husni Faiz Date: Mon Mar 8 03:28:51 2021 +0530 Fix typo in gcc/asan.c comment The size of the variable 'a' should be 24 bytes as mentioned in line no.126. diff --git a/gcc/gcc/asan.c b/gcc/gcc/asan.c index 89ecd99b182..836f50bd44a 100755 --- a/gcc/gcc/asan.c +++ b/gcc/gcc/asan.c @@ -105,7 +105,7 @@ along with GCC; see the file COPYING3. If not see int foo () { - char a[23] = {0}; + char a[24] = {0}; int b[2] = {0}; a[5] = 1;