https://bugs.openldap.org/show_bug.cgi?id=10050

          Issue ID: 10050
           Summary: Use of stack allocated string in mdb_strerror
           Product: LMDB
           Version: unspecified
          Hardware: All
                OS: Windows
            Status: UNCONFIRMED
          Keywords: needs_review
          Severity: normal
          Priority: ---
         Component: liblmdb
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

https://git.openldap.org/openldap/openldap/-/blob/mdb.master/libraries/liblmdb/mdb.c#L1737-1745

This piece of code exists from 2014, and these lines are not working outside of
MSVC. Moreover, they lead to segfaults in MINGW compiled environments.

Please see the patch we use for potential fix:
https://github.com/msys2/MINGW-packages/blob/31012dd33a32390d1e5f9b9338879905ba50f353/mingw-w64-lmdb/002-fix-stack-allocated-string.patch

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to