Package: libodbcinst2
Version: 2.3.12-2
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]

After a dlclose the libodbcinst2 still has a dynamicly allocated
ini cache and an allocation for the odbcinst logger.

This causes problems with memory leak detection systems[1].

I reported this upstream[2] with a simple fix.

If you are up for carrying a patch[3] until next upstream release
MariaDB's CI users, and other unixODBC users investigating memory leaks
would be grateful.

ref:
[1] https://jira.mariadb.org/browse/MDEV-38838
[2] https://github.com/lurcher/unixODBC/pull/234
[3] 
https://github.com/lurcher/unixODBC/commit/e545d3dd29c7290a70992c1b2b1de4f6219e1a6f

-- System Information:
Debian Release: 13.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.19.14-300.fc44.x86_64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages libodbcinst2 depends on:
ii  libc6            2.41-12+deb13u2
ii  libltdl7         2.5.4-4
ii  unixodbc-common  2.3.12-2

libodbcinst2 recommends no packages.

libodbcinst2 suggests no packages.

-- no debconf information

Reply via email to