diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2024-09-10 21:05:19 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2024-09-11 12:08:16 -0700 |
commit | ad0751b6ecf40cb94ecb693d1acfc38fd223f408 (patch) | |
tree | c8047ebfc282c882fa3d0cf22cfda88e67c26d3d /ld/emultempl/elf.em | |
parent | e20c1e410ba1e689cdc0aaf6becc8fd041608aa5 (diff) | |
download | gdb-ad0751b6ecf40cb94ecb693d1acfc38fd223f408.zip gdb-ad0751b6ecf40cb94ecb693d1acfc38fd223f408.tar.gz gdb-ad0751b6ecf40cb94ecb693d1acfc38fd223f408.tar.bz2 |
Fix 32096 UBSAN issues in gprofng
Fixed UBSAN runtime errors such as:
- load of value 4294967295, which is not a valid value for type 'Cmsg_warn'
- null pointer passed as argument 2, which is declared to never be null
- load of value 4294967295, which is not a valid value for type 'ProfData_type'
- reference binding to misaligned address 0x00000357583c for type 'long unsigned int', which requires 8 byte alignment
gprofng/ChangeLog
2024-09-09 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>.
PR gprofng/32096
* src/BaseMetric.cc: Fix UBSAN runtime errors.
* src/BaseMetric.h: Likewise.
* src/Emsg.h: Likewise.
* src/Experiment.cc: Likewise.
* src/Table.h: Likewise.
Diffstat (limited to 'ld/emultempl/elf.em')
0 files changed, 0 insertions, 0 deletions