[Bug d/99337] Sanitizer detect heap-buffer-overflow in checkModFileAlias

2021-03-02 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99337 --- Comment #1 from Vittorio Zecca --- This issue was found with the address sanitizer, while issues in bug 63426 were found with the undefined behavior sanitizer.

[Bug d/99337] Sanitizer detect heap-buffer-overflow in checkModFileAlias

2021-03-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99337 Martin Liška changed: What|Removed |Added Blocks|63426 |86656 --- Comment #2 from Martin Liška -

[Bug d/99337] Sanitizer detect heap-buffer-overflow in checkModFileAlias

2021-03-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99337 --- Comment #3 from Iain Buclaw --- Fix is trivial --- a/gcc/d/dmd/dmodule.c +++ b/gcc/d/dmd/dmodule.c @@ -195,7 +195,7 @@ static void checkModFileAlias(OutBuffer *buf, OutBuffer *dotmods, const char *m = (*ms)[j]; const char *

[Bug d/99337] Sanitizer detect heap-buffer-overflow in checkModFileAlias

2021-03-02 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99337 --- Comment #4 from Vittorio Zecca --- (In reply to Iain Buclaw from comment #3) > Fix is trivial > > --- a/gcc/d/dmd/dmodule.c > +++ b/gcc/d/dmd/dmodule.c > @@ -195,7 +195,7 @@ static void checkModFileAlias(OutBuffer *buf, OutBuffer > *dotmods,

[Bug d/99337] Sanitizer detect heap-buffer-overflow in checkModFileAlias

2021-03-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99337 --- Comment #5 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:d6177870dd2696501e3b8d3930fd5549d4acaeae commit r11-7492-gd6177870dd2696501e3b8d3930fd5549d4acaeae Author: Iain Buclaw Date: Wed Ma

[Bug d/99337] Sanitizer detect heap-buffer-overflow in checkModFileAlias

2021-03-03 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99337 --- Comment #6 from Iain Buclaw --- Thanks, committed, and I'll apply it to gcc-10 and gcc-9 as well, as they have the same condition.

[Bug d/99337] Sanitizer detect heap-buffer-overflow in checkModFileAlias

2021-03-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99337 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:81bedd5e898d97b87358e26a087b25741eb2c713 commit r10-9410-g81bedd5e898d97b87358e26a087b25741eb2c713 Author: Iain Buclaw Date:

[Bug d/99337] Sanitizer detect heap-buffer-overflow in checkModFileAlias

2021-03-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99337 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:03d7b32e0ebf15047a97d3f27faf5771ecf79a03 commit r9-9262-g03d7b32e0ebf15047a97d3f27faf5771ecf79a03 Author: Iain Buclaw Date:

[Bug d/99337] Sanitizer detect heap-buffer-overflow in checkModFileAlias

2021-03-03 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99337 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---