]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ubsan: member access within null pointer of union
authorAlan Modra <amodra@gmail.com>
Tue, 12 Apr 2022 12:20:09 +0000 (21:50 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 13 Apr 2022 00:37:21 +0000 (10:07 +0930)
commit10c0005660cda5ff317da5834e919ce99e517c0e
tree60b76922629a62879b083581afbfaa6c561f10b6
parent1b35e577c30060df004135d58704afc4e9f93e3a
ubsan: member access within null pointer of union

Add some nonsense to cover "undefined behaviour".

* ldlang.c (section_for_dot): Avoid UB.
ld/ldlang.c