Landing: 04106ce784ba

Project / Subsystem

gcc / libgomp

Date

2026-09-24

Author

Jakub Jelinek

Commit

04106ce784babdaa721bc1f1cabcdf6f44f45efb

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libgomp
patch_id
—
commit_hash
04106ce784babdaa721bc1f1cabcdf6f44f45efb
source_type
github
headline
Add overflow checks to libgomp memory allocation functions
tldr
libgomp's aligned memory allocation functions now include overflow checks to prevent potential vulnerabilities.
author
Jakub Jelinek
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • libgomp
  • • memory allocation
  • • security
discussion_id_link
—
bugzilla_pr
—
date
2026-09-24T00:00:00.000Z

GCC’s libgomp library has been updated to include overflow checks in its aligned memory allocation functions, gomp_aligned_alloc and omp_aligned_alloc. This addresses potential vulnerabilities, particularly on platforms like MinGW where _aligned_alloc might not perform its own overflow checking, ensuring safer memory management.