public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/postgresql-odbc] rawhide: Rebase to 18.00.0006
Date: Mon, 23 Nov 2026 07:37:57 GMT [thread overview]
Message-ID: <179541947781.1.17314410021520477556.rpms-postgresql-odbc-f4ee7067df64@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/postgresql-odbc
Branch : rawhide
Commit : f4ee7067df6489ac8ae085b7578c3554883d7428
Author : Michal Schorm <mschorm@redhat.com>
Date : 2026-11-17T07:18:43+01:00
Stats : +19/-10 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/postgresql-odbc/c/f4ee7067df6489ac8ae085b7578c3554883d7428?branch=rawhide
Log:
Rebase to 18.00.0006
released 2026-11-02
Security fixes (12 CVEs):
- CVE-2026-109448: Heap corruption when binding >32767 parameters
- CVE-2026-120057: Large-object read overflows application buffer
- CVE-2026-120058: Row cache overflow on column count change
- CVE-2026-120059: Server-supplied column name used as format string
- CVE-2026-120060: No validation of server-supplied counts/lengths
- CVE-2026-120061: ODBC escape parser stack buffer overflow
- CVE-2026-120062: SQL injection via SQLSpecialColumns table/schema names
- CVE-2026-120063: Stack buffer overflow quoting long schema/table names
- CVE-2026-120064: No validation of column numbers/row indexes in binding
- CVE-2026-120065: Unescaped column names in updatable-cursor queries
- CVE-2026-120066: Log files follow symlinks, predictable path
- CVE-2026-120067: Stack buffer overflow reading keyset columns
Source URL changed from ftp.postgresql.org (now 404) to GitHub archive.
Added 'autoconf', 'automake', 'libtool' BuildRequires and 'autoreconf -fi'
— GitHub archive tarballs omit pre-generated autotools files.
Dropped '-fcommon' and '-std=gnu17' — no longer needed with GCC 16
and upstream code fixes.
Upstream release notes:
https://github.com/postgresql-interfaces/psqlodbc/releases/tag/REL-18_00_0006
Resolves: rhbz#2216933 rhbz#2550369 rhbz#2566767 rhbz#2566771 rhbz#2571647
Co-Authored-By: Claude AI <noreply@anthropic.com>
---
diff --git a/postgresql-odbc.spec b/postgresql-odbc.spec
index 67621a2..1511857 100644
--- a/postgresql-odbc.spec
+++ b/postgresql-odbc.spec
@@ -1,15 +1,16 @@
%bcond_without check
%global upstream_name psqlodbc
+%global upstream_tag REL-18_00_0006
Name: postgresql-odbc
Summary: PostgreSQL ODBC driver
-Version: 16.00.0000
-Release: 11%{?dist}
+Version: 18.00.0006
+Release: 1%{?dist}
License: LGPL-2.0-or-later
URL: https://odbc.postgresql.org/
-Source0: https://ftp.postgresql.org/pub/odbc/versions/src/%{upstream_name}-%{version}.tar.gz
+Source0: https://github.com/postgresql-interfaces/%{upstream_name}/archive/refs/tags/%{upstream_tag}.tar.gz
Source3: 10-postgresql.ini
Patch0: postgresql-odbc-09.06.0200-revert-money-fix.patch
@@ -17,6 +18,9 @@ Patch1: postgresql-odbc-09.05.0400-revert-money-testsuite-fix.patch
Patch2: postgresql-odbc-endianity-test-fix.patch
BuildRequires: make
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
BuildRequires: gcc
BuildRequires: unixODBC-devel
BuildRequires: pkgconfig(libpq)
@@ -36,7 +40,8 @@ PostgreSQL system via ODBC (Open Database Connectivity).
%prep
-%autosetup -p1 -n %{upstream_name}-%{version}
+%autosetup -p1 -n %{upstream_name}-%{upstream_tag}
+autoreconf -fi
cat <<EOF >README.rpmdist
The upstream psqlodbc testsuite is distributed in '%{name}-tests'
@@ -44,11 +49,8 @@ The upstream psqlodbc testsuite is distributed in '%{name}-tests'
EOF
%build
-export CFLAGS="$CFLAGS -std=gnu17"
%configure --with-unixodbc --disable-dependency-tracking --libdir=%{_libdir}/odbc
-# GCC 10 defaults to -fno-common
-# https://gcc.gnu.org/gcc-10/changes.html (see C section)
-%make_build CFLAGS="%{optflags} -fcommon -std=gnu17"
+%make_build
%install
@@ -79,7 +81,7 @@ mv test/expected/wchar-char_1.out test/expected/wchar-char.out
rm -rf test/expected/wchar-char_2.out
rm -rf test/expected/wchar-char_3.out
-cd test && make installcheck %{_smp_mflags} CFLAGS="%{optflags} -fcommon -std=gnu17" || {
+cd test && make installcheck %{_smp_mflags} || {
echo "=== trying to find all regression.diffs files in build directory ==="
find -name regression.diffs | while read line; do
cat "$line"
@@ -122,6 +124,13 @@ the PostgreSQL unixODBC driver.
%changelog
+* Tue Nov 17 2026 Michal Schorm <mschorm@redhat.com> - 18.00.0006-1
+- Update to 18.00.0006
+- Security fixes: 12 CVEs (CVE-2026-109448, CVE-2026-120057 through CVE-2026-120067)
+- Source URL changed from ftp.postgresql.org to GitHub archive
+- Added BuildRequires: autoconf, automake, libtool (GitHub tarballs lack pre-generated autotools files)
+- Dropped '-fcommon' and '-std=gnu17' compiler flags — no longer needed
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 16.00.0000-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index bc8706f..9229855 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (psqlodbc-16.00.0000.tar.gz) = ad971cd29e431225d03faf5ebc0ba7a9f17d20dd70106867f05df8dc1e509413d4db533101a1b3418480ad758b7626c178ec345c5ff7e9409f7fcfbea9427166
+SHA512 (REL-18_00_0006.tar.gz) = 3b7a65d8959dc13ffd2ff049eba59c563854407888490f9140b494621a37023a6694567f33390289f3ecd57c9e375aca3fa4bb716d5d86c47abbc2ef46646bf2
reply other threads:[~2026-11-23 7:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179541947781.1.17314410021520477556.rpms-postgresql-odbc-f4ee7067df64@fedoraproject.org \
--to=mschorm@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox