diff options
author | Josep Pinot <jsp.pinot@gmail.com> | 2025-04-25 10:17:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-25 10:17:07 +0200 |
commit | ada4ad9d1f5580476918d490cb51382714cb2973 (patch) | |
tree | a619f706c8e86f3c86e031290aa6eb14fdd39c9c /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | 86cca005a1a160b4fe681c535c3f00984239259a (diff) | |
download | llvm-ada4ad9d1f5580476918d490cb51382714cb2973.zip llvm-ada4ad9d1f5580476918d490cb51382714cb2973.tar.gz llvm-ada4ad9d1f5580476918d490cb51382714cb2973.tar.bz2 |
[OpenMP] Fix taskgraph dependency tracking, memory access, and initialization (#136837)
This commit resolves multiple issues in the OpenMP taskgraph implementation:
- Fix a potential use of uninitialized is_taskgraph and tdg fields when a task is created outside of a taskgraph construct.
- Fix use of task ID field when accessing the taskgraph’s record_map.
- Fix resizing and copying of the successors array when its capacity is exceeded.
Fixes memory management flaws, invalid memory accesses, and uninitialized data risks in taskgraph operations.
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions