Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Some random things when using ASAN and more warnings enabled:
1. ColumnDefinitionCapi.cpp:105 I don't think *metadata->db is what you meant, compiler things you are doing NULL pointer arithmetic
2. Utils.cpp:135 and Utils:162 return a constant as a char*
3. A couple of use-after-free errors hit in mariadb_stmt.c:617. Not sure if that is a Connector/C or CPP issue. Found using TSAN
4. libmariadb doesn't link with dl, fails in Fedora 32. Appears to work when compiling Connector/C on its own though.