| Summary: | CRASH calling a DLL function returning a string in LibreOffice x64 on Windows | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Mike Kaganski <mikekaganski> |
| Component: | BASIC | Assignee: | Mike Kaganski <mikekaganski> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Windows (All) | ||
| Whiteboard: | target:7.4.0 target:7.3.2 | ||
| Crash report or crash signature: | Regression By: | ||
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5276177877cc53c53653a87f3038eb208a5580ab tdf#147364: fix function signature to account to calling convention It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/596dc56ebf2b50911c525c3ae2282071964ea277 tdf#147364: fix function signature to account to calling convention It will be available in 7.3.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |
Running the following test function crashes LibreOffice x64 on Windows: Declare Function PathFindExtensionA Lib "Shlwapi" Alias "PathFindExtensionA" (ByVal pszPath As String) As String Sub test MsgBox PathFindExtensionA("filename.ext") End Sub