David Chisnall 43d44842ae rtld: Fix null-pointer dereference
When a library is opened via fdlopen, it has a null pointer for its path
and so _rtld_bind can crash as a result of passing the null pointer to
basename() (which passes it to strrchr(), which doesn't do a null check).

PR:	253081
Submitted by:	theraven
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D28442
2021-02-02 16:14:16 +02:00
..
2020-02-09 12:22:43 +00:00
2020-10-09 15:14:19 +00:00
2021-02-02 16:14:16 +02:00
2020-05-26 19:22:46 +00:00