commit | b75c7a81e0b301b7164536025fda08a741b368ef | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Sat Feb 15 17:06:58 2025 +1030 |
committer | Alan Modra <amodra@gmail.com> | Sun Feb 16 08:43:10 2025 +1030 |
tree | bbfc15a71d0c061a3fc64665e376f69501049f5d | |
parent | 3a69ff93b5667f357636b292206b43c90b416290 [diff] |
PR32698, potential null pointer dereference in tekhex.c PR 32698 * tekhex.c (find_chunk): Remove unnecessary casts. (insert_byte): Check and return status from find_chunk. (move_section_contents): Likewise. (tekhex_get_section_contents, tekhex_set_arch_mach): Return status from move_section_contents. (first_phase): Check and return status from first_phase.