Package: python3-pyodbc
Version: 5.2.0-1+b2
Severity: important
Tags: upstream patch
X-Debbugs-Cc: [email protected]

PyODBC crashes when connect is called without string argument. Minimal
script to reproduce:

python3 -c 'import pyodbc; pyodbc.connect(dsn="test")'

However if empty string is passed as first argument everything is ok:

python3 -c 'import pyodbc; pyodbc.connect("", dsn="test")'

Patch is submitted to upstream but is still waiting for maintainer:

https://github.com/mkleehammer/pyodbc/pull/1439

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

Kernel: Linux 6.10.7-amd64 (SMP w/12 CPU threads; PREEMPT)
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 python3-pyodbc depends on:
ii  libc6       2.41-12
ii  libgcc-s1   14.2.0-19
ii  libodbc2    2.3.12-2
ii  libstdc++6  14.2.0-19
ii  python3     3.13.5-1

python3-pyodbc recommends no packages.

python3-pyodbc suggests no packages.

-- no debconf information

Reply via email to