Commit Graph

309 Commits

Author SHA1 Message Date
Petr Khartskhaev
3e7b32b117 Unite CVE patches from Ymir, fix release, fix test
fts5corruptA.test uses more verbose error messages than they were pre 3.50
2026-08-11 14:18:39 +02:00
RHEL Packaging Agent
606ce330da Fix CVE-2026-11822 in sqlite fts5 index
Backport two upstream commits (79db323ce149, eb83e32cef6a)
fixing CVE-2026-11822 in the fts5 full-text search extension.

The first fix corrects a buffer overwrite in fts5LeafRead by
checking pRet->szLeaf instead of pRet->nn in the corruption
guard. The second fix adds a bounds check in fts5LeafSeek to
prevent out-of-bounds access when processing corrupt term data.

Both patches were adapted for sqlite 3.46.1 by replacing newer
upstream macros with the equivalent error-handling pattern used
in this version.

CVE: CVE-2026-11822
Upstream patches:
 - https://github.com/sqlite/sqlite/commit/79db323ce149.patch
 - https://github.com/sqlite/sqlite/commit/eb83e32cef6a.patch
Resolves: RHEL-218240

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-08-11 14:17:29 +02:00
RHEL Packaging Agent
a6aa59f487 Fix CVE-2026-11824: fts5 buffer overwrite on corrupt records
Backport upstream fix for CVE-2026-11824 to sqlite 3.46.1.
The fix corrects a bounds check in fts5LeafRead() (changing
pRet->nn<4 to pRet->szLeaf<4) to prevent a potential buffer
overwrite when processing corrupt fts5 records.

CVE: CVE-2026-11824
Upstream patches:
 - https://github.com/sqlite/sqlite/commit/79db323ce149.patch
Resolves: RHEL-218275

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-08-11 14:16:43 +02:00
Ales Nezbeda
e9896988a3 Fix CVE-2025-6965
Use imported tests

Resolves: RHEL-103827
2025-08-30 05:47:45 +02:00
Ales Nezbeda
4bdbfe7583 CVE-2025-3277 Integer overflow
Fix tests, gating and rpminspect

Resolves: RHEL-87295
2025-04-15 15:59:15 +02:00
Ales Nezbeda
f39eed85cb Enabled sqlite-session feature
Resolves: RHEL-77326
2025-02-03 11:10:25 +01:00
Troy Dawson
c5cd57c67b Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 09:15:02 -07:00
Ales Nezbeda
efcf428abb Update to 3.46.1
Upstream changelog: https://www.sqlite.org/releaselog/3_46_1.html

Related: RHEL-38685
2024-08-20 15:40:48 +02:00
Vaclav Danek
8a170a7136 added gating 2024-08-17 05:43:26 +02:00
Troy Dawson
a84c43574d Bump release for June 2024 mass rebuild 2024-06-24 09:25:23 -07:00
Zuzana Miklankova
7b184b96bc
rebase to upstream version 3.45.1 2024-02-01 13:06:44 +01:00
Fedora Release Engineering
e0a569b412 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 04:12:27 +00:00
Zuzana Miklankova
f1a60499db
rebase to upstream version 3.45.0
- list explicit soname version provide
- disable some failing tests for i686
2024-01-17 10:36:10 +01:00
Zuzana Miklankova
3afd5b3bb3
rebase to upstream version 3.44.2 2023-12-07 09:42:36 +01:00
Zuzana Miklankova
7bf56a2b09
rebase to upstream version 3.44.1 2023-11-23 12:08:31 +01:00
Zuzana Miklankova
5372740d34
rebase to upstream version 3.44.0 2023-11-02 10:08:32 +01:00
Zuzana Miklankova
ba9e5a2454
rebase to upstream version 3.43.2 2023-10-23 10:05:01 +02:00
Zuzana Miklankova
741484829b
rebase to upstream version 3.43.1 2023-09-12 09:10:15 +02:00
Zuzana Miklankova
ecef115597
add sources for 3.43.0 2023-09-04 10:17:44 +02:00
Zuzana Miklankova
d682422d36
rebase to upstream version 3.43.0 2023-08-31 10:31:06 +02:00
Fedora Release Engineering
18662c2ae4 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 02:22:18 +00:00
Zuzana Miklankova
2d08b1f9cf
add gating rule for tier0 tests 2023-07-18 13:20:56 +02:00
Zuzana Miklankova
c7de089ff8
add correct path to tmt plan in gating.yaml 2023-07-18 09:07:18 +02:00
Zuzana Miklankova
ddf3ce0ebf
remove patch 5 - adjust sync test
The test is passing even without this patch
2023-07-13 12:30:00 +02:00
Zuzana Miklankova
6ebb751fb9
remove patch4 - disabling date test
The test is passing on all arches
2023-07-13 12:24:45 +02:00
Zuzana Miklankova
54405b5d66
remove patch3 - temporary disabling percentile test
The test no longer fails on i686 in rawhide
2023-07-13 10:39:38 +02:00
Zuzana Miklankova
1a12e88f50
remove patch2 - double free when using createrepo
Related: #801981

Removing as the bug is no longer reproducible in rawhide even without
this patch. Also disabling malloc_usable_size() is not optimal[1]:

"If the HAVE_MALLOC_USABLE_SIZE option is omitted or is false, then
SQLite uses a wrapper around system malloc() and realloc() that enlarges
each allocation by 8 bytes and writes the size of the allocation in the
initial 8 bytes, and then SQLite also implements its own home-grown
version of malloc_usable_size() that consults that 8-byte prefix to find
the allocation size. This approach works but it is suboptimal.
Applications are encouraged to use HAVE_MALLOC_USABLE_SIZE whenever
possible. "

Reproducing steps:

\# export MALLOC_CHECK_=3
\# createrepo -d .
Directory walk started
Directory walk done - 15 packages
Temporary output repo path: ./.repodata/
Preparing sqlite DBs
Pool started (with 5 workers)
Pool finished

[1] https://www.sqlite.org/compile.html
2023-07-13 10:39:32 +02:00
Zuzana Miklankova
9c86df44e1
rebase back to 3.42.0 2023-07-13 09:57:42 +02:00
Zuzana Miklankova
8331b8efec
add gating.yaml
so the package will be gated on the tests before transferring to testing,
respectively stable state.
2023-06-23 12:35:36 +02:00
Zuzana Miklankova
35f4dd2d03
downgrade sqlite to 3.41.2
reason is crash during package install with sqlite 3.42.0

Related: #2216688
2023-06-23 12:23:03 +02:00
Zuzana Miklankova
e1c8a26134
rebase to 3.42.0
use %patch -P N instead of deprecated %patchN
2023-06-21 16:58:44 +02:00
Siddhesh Poyarekar
adb48d02f1 Drop duplicate -mbranch-protection
The rpminspect error was likely a bug in rpminspect/annobin.
-mbranch-protection is added by default to CFLAGS through
redhat-rpm-config.
2023-05-25 11:34:33 -04:00
Zuzana Miklankova
c066bc2195
rebase to 3.41.2
migrate to SPDX license
2023-03-27 11:56:44 +02:00
Fedora Release Engineering
2c4807a995 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 03:55:04 +00:00
Shlomi Fish
4d4f2fffb6 Add provides for the 'sqlite3' executable
So one can do 'dnf install sqlite3'.
2023-01-02 13:46:41 +00:00
Zuzana Miklankova
7b4a7e0256
update to 3.40.1 2023-01-02 09:46:26 +01:00
Zuzana Miklankova
90c43fcacc
update to 3.40.0 2022-11-18 09:34:40 +01:00
Zuzana Miklankova
e581c87d4e
update to 3.39.4 2022-10-19 14:56:07 +02:00
Zuzana Miklankova
e6e5938a46
update to 3.39.3 2022-09-06 12:07:15 +02:00
Zuzana Miklankova
0ddb5e1f4a
update to 3.39.2 2022-07-29 10:06:10 +02:00
Fedora Release Engineering
b570eb4256 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 09:16:43 +00:00
Zuzana Miklankova
3beb0299d4
update to 3.39.1
And fix incorrect date in changelog of specfile.

Resolves: #2106900
2022-07-18 14:47:59 +02:00
Zuzana Miklankova
57bfa64729
update to 3.39.0 2022-06-27 11:57:20 +02:00
Zuzana Miklankova
807afbf3e8
Release bump for rebuild with fixed '--without sqldiff' option
This is not really necessary, because the change would not affect the
resulting package, which is shipped to Fedora, but this way I see as
more transparent.
2022-06-09 16:13:45 +02:00
Jan Pazdziora
110de5f827
Fix build error --without sqldiff.
Addressing
error: Installed (but unpackaged) file(s) found:
   /usr/bin/sqldiff
   /usr/lib/debug/usr/bin/sqldiff-3.31.1-1.fc31.x86_64.debug
2022-06-09 13:27:18 +02:00
Zuzana Miklankova
f04125dafa
update to 3.38.5 2022-05-09 11:19:28 +02:00
Zuzana Miklankova
3926e22b6b
Bump release because of various updates in build 2022-05-02 11:39:30 +02:00
Zuzana Miklankova
5fdbe169f2
add autoupdate command to %prep
Use of autoupdate removes WARNING messages, that tell about using deprecated macros
in the %build.

https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/autoupdate-Invocation.html
2022-05-02 11:33:23 +02:00
Zuzana Miklankova
1b8b324002
remove configure flag --enable-json1, as it is default from 3.38.0
Its usage causes warnings, as the flag is not available anymore.
Upstream docs: https://www.sqlite.org/compile.html#enable_json1

Moreover --disable-dependency-tracking and --enable-threads-override-locks
flags are not supported by the sqlite, but used as configure options and
are causing WARNING.
This is because they are a part of %configure macro and can not be
removed easily from there.
2022-05-02 11:28:31 +02:00
Zuzana Miklankova
f45efa0be6
add flag -mbranch-protection=standard for aarch64
added because of rpminspect check, which failed with:

FAIL: branch-protection test because the -mbranch-protection option was
not used
2022-05-02 11:27:07 +02:00