[Libreoffice-bugs] [Bug 137208] osl_getModuleURLFromAddress returns false if getcwd returns an error

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Feb 16 14:14:10 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=137208

Stephan Bergmann <sbergman at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
           Assignee|libreoffice-bugs at lists.free |sbergman at redhat.com
                   |desktop.org                 |

--- Comment #2 from Stephan Bergmann <sbergman at redhat.com> ---
There is probably no good reason that osl_getModuleURLFromAddress calls
osl_getAbsoluteFileURL(workDir,...) ever since
<https://git.libreoffice.org/core/+/3dfb38a45d6495d357c3359b5b02cde871df6f67%5E!/>
"added getUrlFromAddress (#88338#)", apparently under the assumption that the
pathname obtained from dladdr might be relative to the process's CWD.  I'll see
to rip that out.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210216/3f2db824/attachment.htm>


More information about the Libreoffice-bugs mailing list