[Bug 277906] libalias fails to report an error from dlsym()

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 23 Mar 2024 15:35:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277906

--- Comment #2 from Igor <Igor.Gusarov@kaspersky.com> ---
Created attachment 249427
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249427&action=edit
Patch with detailed diagnostic for libalias module loading

Apart from fixing original problem reported in bug 277906, this patch changes
diagnostic error messages to make them more detailed and user friendly.

Please review those changes to verify that they do not break any existing code,
and do not introduce neither vulnerability, nor exploit. They print
user-configurable path names. Can it be abused somehow?

This patch also documents the current behaviour of libalias: it may leave
dll::name member string _not_ NUL-terminated.

-- 
You are receiving this mail because:
You are the assignee for the bug.