[Issue]: hipBinUtilPtr_ never initialized in amd/hipcc/src/hipBin_amd.h #182
Labels
generic
Build error, or some other issue not caused by an LLVM bug
hipcc
Related to HIPCC
Under Investigation
Problem Description
The
hipBinUtilPtr_
field is never initialized inhipBin_amd.h
orhipBin_nvidia.h
so all member calls through it are UB. Looks like it's accidentally redefined as a private field instead of reusing the inherited protected field which is initialized correctly.Detected by UBSAN if hipcc is built with
-fsanitize=undefined
Line numbers on rocm-6.2.2 tag:
Operating System
NixOS
CPU
Epyc 7642
GPU
AMD Instinct MI100
ROCm Version
ROCm 6.2.0
ROCm Component
HIPCC
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: