mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
dlopen() does not set errno on failure, rather you're supposed to call dlerror() to get the latest error. dlerror() return a string so instead return -ENOENT from weakjack_load_by_path(). Depending on errno weakjack_load() could think it successfully loaded the library, and later module-jack-tunnel would crash because it call a NULL function pointer. |
||
|---|---|---|
| .. | ||
| weakjack.h | ||