NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/60215: ld.elf_so dlerror() state is not thread-local



On 4/29/26 11:05 PM, Izumi Tsutsui via gnats wrote:
  Linux dlsym(3) man page claims dlsym() can return NULL without error:
   https://man7.org/linux/man-pages/man3/dlsym.3.html
  Maybe this is the reason why GLib/GObject-Introspection always
  checks dlerror().

Please read the NOTES section of that page. I'd argue strongly that none of those conditions exist in sane software and should all just be handled as error without any loss.

Joerg



Home | Main Index | Thread Index | Old Index