[Bug 2003003] Re: unixODBC crashes when ODBC trace is enabled
Lena Voytek
2003003 at bugs.launchpad.net
Fri Apr 28 17:18:55 UTC 2023
Hello,
I looked into possible solutions from upstream and found this bug:
https://github.com/lurcher/unixODBC/issues/103
It seems to match the issue reported here from what I can tell. This was
fixed by
https://github.com/lurcher/unixODBC/commit/6727dee310d7d914eb203385e857fbc741394935
I created a PPA for 22.04 with this change added here:
https://launchpad.net/~lvoytek/+archive/ubuntu/unixodbc-fix-trace-
buffer-overflow
If you would like to test it you can run:
$ sudo add-apt-repository ppa:lvoytek/unixodbc-fix-trace-buffer-overflow
$ sudo apt update
$ sudo apt upgrade
Thanks!
** Bug watch added: github.com/lurcher/unixODBC/issues #103
https://github.com/lurcher/unixODBC/issues/103
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unixodbc in Ubuntu.
https://bugs.launchpad.net/bugs/2003003
Title:
unixODBC crashes when ODBC trace is enabled
Status in unixodbc package in Ubuntu:
Incomplete
Bug description:
The package unixODBC 2.3.9-5, that installs by default on Ubuntu 22.04
contains a crash. If ODBC trace is enabled
(https://www.easysoft.com/support/kb/kb00945.html) unixODBC will crash
when calling GetDiagRec(). It reports a buffer overflow while calling
a _sprintf. Newer version of unixODBC, 2.3.11, does not contain this
bug (I've built one from source on my 22.04 VM).
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: unixodbc 2.3.9-5
ProcVersionSignature: Ubuntu 5.15.0-57.63-generic 5.15.74
Uname: Linux 5.15.0-57-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Mon Jan 16 17:07:21 2023
InstallationDate: Installed on 2023-01-10 (5 days ago)
InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: unixodbc
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/2003003/+subscriptions
More information about the foundations-bugs
mailing list