Hi all,
    This is my first contribution for an open source project. Please guide
me if anything is missing.

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;


Author: Husni Faiz <ahamedhusn...@gmail.com>
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;

Reply via email to