fix inadvertent use of uninitialized variable in dladdr
commit c8b49b2f introduced code that checked bestsym to determine whether a matching symbol was found, but bestsym is uninitialized if not. instead use best, consistent with use in the rest of the function. simplified from bug report and patch by Cheng Liu.
Showing
想要评论请 注册 或 登录