RE: [PATCH] Remove buffer overflow in cobol driver

2025-04-04 Thread Robert Dubner
LGTM > -Original Message- > From: Andreas Schwab > Sent: Monday, March 24, 2025 06:47 > To: gcc-patches@gcc.gnu.org > Cc: jklow...@cobolworx.com; rdub...@symas.com > Subject: [PATCH] Remove buffer overflow in cobol driver > > * gcobolspec.cc (lang_specific_driv

[PATCH] Remove buffer overflow in cobol driver

2025-03-24 Thread Andreas Schwab
* gcobolspec.cc (lang_specific_driver): Use pointer instead of copying into fixed array. --- gcc/cobol/gcobolspec.cc | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/gcc/cobol/gcobolspec.cc b/gcc/cobol/gcobolspec.cc index 364c14c8a70..c84f4058c59 100644 --- a/gcc/co