Debian Patches

Status for mariadb-connector-odbc/3.1.15-5

Patch Description Author Forwarded Bugs Origin Last update
cmake-fix-library-searchpath.patch no
ODBC-359.patch [PATCH 1/2] ODBC-359 add NULL check to buffer in MADB_FixFetchedValues case SQL_C_WCHAR

It is possible to pass a valid length buffer but no target buffer (and set BufferLength to 0) in SQLBindCol
to get the length of that columns data but not actually copy it. To check if an error occurred the ptr was dereferenced without
first checking if it points to a valid buffer which lead to a segfault.
Patrick Braun <patrick.braun@krumedia.com> no 2022-05-09
ODBC-365.patch [PATCH] ODBC-365 The fix only(the testcase of ODBC-359 covers it)
If application wanted to know length of wchar data(to allocate the buffer
and later fetch it) - i.e. it SQLBindCol only lenght pointer, and no
data pointer, on SQLFetch connector would put 0 in the length buffer.
Usually that is done with SQLGetData, but this way is also legitimate.
Lawrin Novitsky <lawrin.novitsky@mariadb.com> no 2022-06-13

All known versions for source package 'mariadb-connector-odbc'

Links