Landing: 592daa395c51
Project / Subsystem
gcc / cobol
Date
2026-07-11
Author
Robert Dubner
Commit
592daa395c512e83eb5018b6877c3888d74ff937
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- 592daa395c512e83eb5018b6877c3888d74ff937
- source_type
- github
- headline
- Cobol: Use strncpy properly.
- tldr
- Corrected the usage of strncpy in cobol's charmaps.cc and removed outdated test cases.
- author
- Robert Dubner
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • bugfix
- • testsuite
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-11T00:00:00.000Z
This commit fixes the way strncpy is used in libgcobol/charmaps.cc for better safety and also addresses issues within header files by adjustingCppcheck directives. Additionally, several outdated test cases in the cobol testsuite have been removed.