#1141620 trixie-pu: package unixodbc/2.3.12-2+deb13u1

#1141620#5
Date:
2026-07-07 12:28:33 UTC
From:
To:
[ Reason ]
odbcinst2 is leaking memory. After a dlclose(), libodbcinst2 still has a
dynamically allocated ini cache and memory allocation for the odbcinst logger.

[ Impact ]
The leak occurs on all systems with ini-caching enabled at build time, which is
all Debian systems.

Broadly, the bug is impacting MariaDB ODBC connector. MariaDB developers
reported the bug to the upstream unixODBC.

[ Tests ]
See, for example, https://jira.mariadb.org/browse/MDEV-38838.

[ Risks ]
Memory leaks remain and impact systems using MariaDB and other databases with
unixODBC.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
The upstream patch declares the relevant destructor at compile time, adds
inst_logClose() to close and clear ODBCINSTLog, and calls inst_logClose() and
__clear_ini_cache() on shared library closure.

This version also introduces a new symbol, inst_logClose, which is fine.

[ Other info ]
Upstream MariaDB is requesting an upload to Debian stable, which I support (see
#1141600).

#1141620#12
Date:
2026-07-13 21:29:13 UTC
From:
To:
Hi,

Please go ahead.

Thanks,

#1141620#19
Date:
2026-07-16 10:04:18 UTC
From:
To:
package release.debian.org
tags 1141620 = trixie pending
thanks

Hi,

The upload referenced by this bug report has been flagged for acceptance into the proposed-updates queue for Debian trixie.

Thanks for your contribution!

Upload details
==============

Package: unixodbc
Version: 2.3.12-2+deb13u1

Explanation: fix memory leaks on dlclose()

#1141620#24
Date:
2026-07-16 10:04:18 UTC
From:
To:
package release.debian.org
tags 1141620 = trixie pending
thanks

Hi,

The upload referenced by this bug report has been flagged for acceptance into the proposed-updates queue for Debian trixie.

Thanks for your contribution!

Upload details
==============

Package: unixodbc
Version: 2.3.12-2+deb13u1

Explanation: fix memory leaks on dlclose()