https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120244
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Robert Dubner <rdub...@gcc.gnu.org>: https://gcc.gnu.org/g:0f93b290938d2a78adb7183104a86ce05ccd21de commit r16-2676-g0f93b290938d2a78adb7183104a86ce05ccd21de Author: Robert Dubner <rdub...@symas.com> Date: Wed Jul 30 09:54:13 2025 -0400 cobol: Eliminate various errors. [PR120244] The following coding errors were located by running extended tests through valgrind. These changes repair the errors. gcc/cobol/ChangeLog: PR cobol/120244 * genapi.cc (get_level_88_domain): Increase array size for final byte. (psa_FldLiteralA): Use correct length in build_string_literal call. * scan.l: Use a loop instead of std:transform to avoid EOF overrun. * scan_ante.h (binary_integer_usage): Use a variable-length buffer.