]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR 32731 ub sanitizer accessing filenames_reversed
authorAlan Modra <amodra@gmail.com>
Sun, 23 Feb 2025 10:34:29 +0000 (21:04 +1030)
committerAlan Modra <amodra@gmail.com>
Sun, 23 Feb 2025 11:42:54 +0000 (22:12 +1030)
commitbf088ee09a78cc86025139b8ff18d56a1e53605b
tree52e2bc067bf7643ca44909fd9ec29b94c2cc2564
parenta8f3fce1060fbea51dd563bb9511f3d6376a702d
PR 32731 ub sanitizer accessing filenames_reversed

tic4x-coff and mcore-pe tickle this bug by a peculiarity of their
default ld scripts.

PR 32731
* ldlang.c (lang_add_wild): Init filenames_reversed when no
filespec.

(cherry picked from commit a021382482a6c891d74d302a598688f447ae97e0)
ld/ldlang.c