[PATCH] Fix typo in gcc/asan.c comment
Ahamed Husni
ahamedhusni73@gmail.com
Sun Mar 7 22:10:16 GMT 2021
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 <ahamedhusni73@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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.diff
Type: text/x-patch
Size: 323 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210308/2dcc8813/attachment.bin>
More information about the Gcc-patches
mailing list