[Bug cobol/119390] cobol compiler crashes with buffer overflow

2025-03-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119390 --- Comment #3 from Andreas Schwab --- #9 lang_specific_driver (in_decoded_options=0x7fffd970, in_decoded_options_count=0x7fffd97c, in_added_libraries=) at ../../gcc/cobol/gcobolspec.cc:510 510 strcpy(ach, de

[Bug cobol/119390] cobol compiler crashes with buffer overflow

2025-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119390 --- Comment #2 from Sam James --- I don't see it either with glibc-2.41 (tip of stable branch). I do see PR119377.

[Bug cobol/119390] cobol compiler crashes with buffer overflow

2025-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119390 --- Comment #1 from Richard Biener --- Seems to be fine when compiling cobol1 with -O -D_FORTIFY_SOURCE=[23] with glibc 2.38