[Bug 2003003] [NEW] unixODBC crashes when ODBC trace is enabled

Maxim 2003003 at bugs.launchpad.net
Mon Jan 16 17:18:25 UTC 2023


Public bug reported:

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)

** Affects: unixodbc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy uec-images

** Attachment added: "App I used to test, run with connection string as parameter"
   https://bugs.launchpad.net/bugs/2003003/+attachment/5641721/+files/test.c

-- 
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:
  New

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