Initializing an ompt_data_t object using the pointer union member is potentially unsafe in 32-bit programs.
This change fixes the issue by using the constant, ompt_data_none.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D52046
[OMPT] Fix unsafe initialization of ompt_data_t objects. ClosedPublic Authored by hbae on Sep 13 2018, 9:53 AM.
Details Summary Initializing an ompt_data_t object using the pointer union member is potentially unsafe in 32-bit programs.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 14 2018, 6:15 AM Closed by commit rL343785: [OpenMP][OMPT] Fix unsafe initialization of ompt_data_t objects (authored by jlpeyton). · Explain WhyOct 4 2018, 7:59 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 168293 openmp/trunk/runtime/src/kmp_runtime.cpp
|