]>
git.ipfire.org Git - thirdparty/pdns.git/log
Alexis Romero [Thu, 8 May 2025 09:45:59 +0000 (11:45 +0200)]
Merge pull request #15531 from romeroalx/auth-4.8.x-ubuntu-22
auth-4.8.x: move to ubuntu 22 for package building and ci
Peter van Dijk [Mon, 14 Aug 2023 14:55:02 +0000 (16:55 +0200)]
ixfrdist: switch testing to pytest
Peter van Dijk [Tue, 31 Oct 2023 14:43:19 +0000 (15:43 +0100)]
auth-py tests: switch to pytest
romeroalx [Tue, 6 May 2025 10:59:38 +0000 (12:59 +0200)]
tasks.py: allow more recent version of packages available for ubuntu22
romeroalx [Tue, 6 May 2025 10:22:49 +0000 (12:22 +0200)]
fix build docs
romeroalx [Tue, 6 May 2025 09:11:29 +0000 (11:11 +0200)]
remove unused workflows
romeroalx [Tue, 6 May 2025 09:08:50 +0000 (11:08 +0200)]
tasks.py: fix bear format
romeroalx [Tue, 6 May 2025 08:50:33 +0000 (10:50 +0200)]
Install python3-yaml as part of the clang-tidy-tools
Alexis Romero [Wed, 15 Nov 2023 10:04:28 +0000 (11:04 +0100)]
removed unused pip pkgs from gh-actions-setup. removed azure apt reference
romeroalx [Wed, 30 Apr 2025 06:58:32 +0000 (08:58 +0200)]
auth-4.8.x: move to ubuntu 20 for package building and ci
Miod Vallat [Mon, 24 Mar 2025 12:59:37 +0000 (13:59 +0100)]
Merge pull request #15346 from miodvallat/backport-15339-to-auth-4.8.x
auth-4.8.x: Handle marked-as-deleted elements in ReadonlyOperations::get<>
Miod Vallat [Mon, 24 Mar 2025 12:55:43 +0000 (13:55 +0100)]
Merge pull request #15344 from miodvallat/backport-15340-to-auth-4.8.x
auth-4.8.x: mysql: use MYSQL_TYPE_LONGLONG on 64bit platforms
Miod Vallat [Fri, 21 Mar 2025 11:00:56 +0000 (12:00 +0100)]
Handle marked-as-deleted elements in ReadonlyOperations::get<>
(cherry picked from commit
1d8242cd7f4e4235c6a2aeb43574121dce2122c8 )
Chris Hofstaedtler [Fri, 21 Mar 2025 11:54:21 +0000 (12:54 +0100)]
mysql: use MYSQL_TYPE_LONGLONG on 64bit platforms
Found on s390x
(cherry picked from commit
3f4aaf81caf5f4549e7bfcf3a3c746168c9c4175 )
Peter van Dijk [Tue, 4 Mar 2025 10:38:22 +0000 (11:38 +0100)]
Merge pull request #15229 from miodvallat/backport-15222-to-auth-4.8.x
auth 4.8.x: Backport "Damage control in Lua createForward() and createForward6()."
Miod Vallat [Thu, 27 Feb 2025 16:07:45 +0000 (17:07 +0100)]
Update check-spelling/check-spelling from 0.0.21 to 0.0.24
(backport from master)
Miod Vallat [Wed, 26 Feb 2025 13:31:50 +0000 (14:31 +0100)]
Damage control in Lua createForward() and createForward6().
- make sure all computed results are passed to a ComboAddress
constructor, which will reject ill-formed data. This wasn't the case
in createForward, when interpreting part of the requested name as an
ipv4 address encoded in hexadecimal (e.g.
7f000001 ), but the actual
name wasn't.
This would otherwise end up with a SERVFAIL answer and a Lua stack
traceback containing messages such as:
Unable to convert presentation address '
4294967292 .xx.yy.zz'
for a name ending with "-4" and six hex digits.
- wrap these functions into a try/catch block in order to cope with
possible exceptions raised by ComboAddress.
This wasn't the case in createForward6 when the requested name
contains at least 8 dots - this doesn't imply each component is a
valid ipv6 chunk.
(cherry picked from commit
97800540ef65f19cd9cb6e2624682c0840a6eafc )
Peter van Dijk [Mon, 3 Feb 2025 12:45:37 +0000 (13:45 +0100)]
Merge pull request #15095 from mind04/auth48-backport-15093
Auth-4.8 check return value of getCatalogMembers()
Kees Monshouwer [Tue, 28 Jan 2025 17:33:20 +0000 (18:33 +0100)]
auth, check return value of getCatalogMembers()
Peter van Dijk [Mon, 2 Dec 2024 10:42:20 +0000 (11:42 +0100)]
Merge pull request #14907 from romeroalx/backport-13679-to-auth-4.8.x
auth-4.8.x: Backport 13679 - Update upload-artifact and download-artifact to version 4
dependabot[bot] [Thu, 18 Jan 2024 15:21:24 +0000 (15:21 +0000)]
build(deps): bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Mon, 27 Nov 2023 15:34:52 +0000 (15:34 +0000)]
build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Remi Gacogne [Mon, 8 Jan 2024 16:14:20 +0000 (17:14 +0100)]
ci: Update upload-artifact and download-artifact to version 4
Peter van Dijk [Tue, 26 Nov 2024 09:02:40 +0000 (10:02 +0100)]
Merge pull request #14884 from romeroalx/backport-14862-to-auth-4.8.x
auth-4.8.x: Backport 14862 - builder: remove ubuntu lunar as it is EOL
Peter van Dijk [Fri, 22 Nov 2024 09:08:40 +0000 (10:08 +0100)]
builder: remove ubuntu lunar+mantic as they are EOL
Peter van Dijk [Fri, 20 Sep 2024 12:37:42 +0000 (14:37 +0200)]
Merge pull request #14689 from Habbie/backport-14686-to-auth-4.8.x
auth 4.8 mssql CI: switch to 2022-CU12 image
Peter van Dijk [Thu, 19 Sep 2024 08:47:07 +0000 (10:47 +0200)]
auth mssql CI: switch to 2022-CU12 image
https://github.com/actions/runner-images/releases/tag/ubuntu22%
2F20240915 .1 broke mssql.
https://github.com/microsoft/mssql-docker/issues/868 fits the kernel upgrade.
this commit switches from 2017-GA to 2022-CU12, which unbreaks the build
(cherry picked from commit
0b805ddebc3e14f78effa44ebf06377c593276ed )
Otto Moerbeek [Fri, 12 Jul 2024 09:45:22 +0000 (11:45 +0200)]
Merge pull request #14462 from omoerbeek/backport-14445-to-auth-4.8.x
auth: Backport 14445 to auth 4.8.x: use el-7 for daily build
Otto Moerbeek [Tue, 9 Jul 2024 08:19:07 +0000 (10:19 +0200)]
rec 4.9.x: daily build for el-7 instead of centos-7
(cherry picked from commit
8a0e619a2a7d027d24e26fb23ecade0573592382 )
Peter van Dijk [Tue, 9 Jul 2024 07:59:17 +0000 (09:59 +0200)]
Merge pull request #14421 from Habbie/backport-14403-to-auth-4.8.x
auth-4.8: switch el7 builds to Oracle Linux 7
Peter van Dijk [Tue, 2 Jul 2024 09:19:31 +0000 (11:19 +0200)]
switch el7 builds to Oracle Linux 7
(cherry picked from commit
73a1b98f92c671c590540ac19d74d70499f89066 )
(cherry picked from commit
87e2e08b41de7453f144721ed232219052205651 )
Peter van Dijk [Fri, 5 Jul 2024 13:13:41 +0000 (15:13 +0200)]
Merge pull request #14423 from Habbie/backport-14405-to-auth-4.8.x
auth-4.8: dns.cc: use pdns::views::UnsignedCharView
Otto Moerbeek [Wed, 19 Jun 2024 11:10:15 +0000 (13:10 +0200)]
dns.cc: use pdns::views::UnsignedCharView
Includes minor cleanup and additions to make UnsignedCharView usable for this use case.
Supersedes #14356
Fixes
/usr/include/c++/v1/__fwd/string_view.h:22:41: warning: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 19, so please migrate off of it. [-Wdeprecated-declarations]
(cherry picked from commit
949ea9456dbe76e78aeff5f6f37f218549d1b493 )
(cherry picked from commit
c3a5649044ae49bdf0f0271744d76b948efcffc5 )
Peter van Dijk [Tue, 2 Jul 2024 10:48:38 +0000 (12:48 +0200)]
import views.hh from master
(cherry picked from commit
99bf661661e46c6ca4ee71b955fb00f5b9baa130 )
Peter van Dijk [Mon, 1 Jul 2024 11:05:54 +0000 (13:05 +0200)]
Merge pull request #14314 from romeroalx/backport-14241-to-auth-4.8.x
auth-4.8.x: Backport removal of centos-8 and centos-8-stream as build targets
romeroalx [Tue, 4 Jun 2024 09:16:18 +0000 (11:16 +0200)]
remove centos-8 and centos-8-stream as build targets
Peter van Dijk [Thu, 6 Jun 2024 14:46:39 +0000 (16:46 +0200)]
Merge pull request #14290 from romeroalx/backport-14171-to-auth-4.8.x-2
auth-4.8.x: backport of #14171 for fixing the build of images on new tags
Peter van Dijk [Thu, 6 Jun 2024 11:10:50 +0000 (13:10 +0200)]
Merge pull request #14246 from ns-sjorgedeaguiar/backport-14218-to-auth-4.8.x
auth web: Backport 14218 to auth-4.8.x: make request/response timeout configurable
romeroalx [Tue, 14 May 2024 15:45:08 +0000 (17:45 +0200)]
gh actions: add WF for building and pushing images when a new tag is created
romeroalx [Tue, 14 May 2024 15:43:26 +0000 (17:43 +0200)]
gh actions: add WF for building and pushing images manually
romeroalx [Tue, 14 May 2024 15:40:11 +0000 (17:40 +0200)]
gh actions: modify docker.yml for building and pushing images daily (master)
romeroalx [Tue, 14 May 2024 15:35:44 +0000 (17:35 +0200)]
gh actions: add WF for building and pushing multi-platform images on workflow_call events
Samir Aguiar [Mon, 20 May 2024 21:08:36 +0000 (21:08 +0000)]
auth web: make request/response timeout configurable
Peter van Dijk [Fri, 24 May 2024 08:18:04 +0000 (10:18 +0200)]
Merge pull request #14211 from romeroalx/backport-14171-to-auth-4.8.x
auth-4.8.x: Partial backport of #14171 for fixing the build of arm64 images
romeroalx [Tue, 14 May 2024 15:26:05 +0000 (17:26 +0200)]
Adding liblua5.3-dev/libluajit-5.1-dev to dockerfiles
Peter van Dijk [Fri, 17 May 2024 12:34:37 +0000 (14:34 +0200)]
Merge pull request #14153 from romeroalx/backport-14044-to-auth-4.8.x
auth: Backport 14044 to auth-4.8.x: gh actions - replace yq snap in collect job build-and-test-all
romeroalx [Thu, 9 May 2024 14:36:59 +0000 (16:36 +0200)]
gh actions - build-and-test-all: use a ubuntu-22 runner for job collect
romeroalx [Fri, 5 Apr 2024 10:02:55 +0000 (12:02 +0200)]
gh actions - replace yq snap in collect job build-and-test-all
Peter van Dijk [Mon, 18 Dec 2023 11:33:02 +0000 (12:33 +0100)]
Merge pull request #13626 from Habbie/backport-13552-to-auth-4.8.x
auth-4.8: extend the systemd startup timeout during lmdb schema migrations
Peter van Dijk [Mon, 18 Dec 2023 11:32:41 +0000 (12:32 +0100)]
Merge pull request #13625 from Habbie/backport-13619-to-auth-4.8.x
auth-4.8: Add supervisor to Auth container image
Peter van Dijk [Thu, 14 Dec 2023 15:02:18 +0000 (16:02 +0100)]
Merge pull request #13624 from Habbie/backport-13093-to-auth-4.8.x
auth-4.8: ixfrdist: Fix the validation of 'max-soa-refresh'
Kees Monshouwer [Tue, 28 Nov 2023 19:52:53 +0000 (20:52 +0100)]
auth, extend the systemd startup timeout during lmdb schema migrations
(cherry picked from commit
bd61829b3fbaf654129be0b77183d0b2ab966fe7 )
Peter van Dijk [Thu, 14 Dec 2023 10:32:18 +0000 (11:32 +0100)]
one sentence per line
(cherry picked from commit
670426f796a849ed3a733aa750fac285ad0b81ad )
Nico Vaatstra [Wed, 13 Dec 2023 14:12:36 +0000 (15:12 +0100)]
Minor docs change regarding supervisord in Kubernetes
(cherry picked from commit
9759a3983789f64fe3ac6a56ed671cdda467644d )
Nico Vaatstra [Wed, 13 Dec 2023 14:01:10 +0000 (15:01 +0100)]
Supervisor in Auth container image
(cherry picked from commit
638d656cb6d9fea17d8065ea8ac173a99518ada2 )
Remi Gacogne [Tue, 1 Aug 2023 14:17:49 +0000 (16:17 +0200)]
ixfrdist: Fix the validation of 'max-soa-refresh'
(cherry picked from commit
b16aa8e4d785babed1b4b45e8165fed9f473a86b )
Peter van Dijk [Tue, 5 Dec 2023 14:12:50 +0000 (15:12 +0100)]
Merge pull request #13534 from romeroalx/auth-4.8.x-workflow-call
GH Actions - rel/auth-4.8.x: make build-and-test-all and builder workflows reusable from other branches
romeroalx [Wed, 22 Nov 2023 13:07:38 +0000 (14:07 +0100)]
make builder workflow reusable
Alexis Romero [Thu, 16 Nov 2023 15:38:05 +0000 (16:38 +0100)]
make build-and-test-all reusable
Peter van Dijk [Fri, 14 Jan 2022 11:12:09 +0000 (12:12 +0100)]
test ubuntu jammy build target
Peter van Dijk [Thu, 14 Sep 2023 06:35:05 +0000 (08:35 +0200)]
builder: drop ubuntu kinetic, it is EOL
Josh Soref [Tue, 25 Jul 2023 10:13:28 +0000 (06:13 -0400)]
Switch from deprecated ::set-output
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Peter van Dijk [Tue, 3 Oct 2023 07:43:52 +0000 (09:43 +0200)]
Merge pull request #13316 from Habbie/backport-13136-to-auth-4.8.x
auth-4.8: ixfrdist: set AA=1 on SOA responses
Peter van Dijk [Mon, 14 Aug 2023 14:52:27 +0000 (16:52 +0200)]
ixfrdist: set AA=1 on SOA responses
(cherry picked from commit
63f3e97b0def39e0199a3c1c28d611ec7f74a686 )
Peter van Dijk [Mon, 14 Aug 2023 15:10:10 +0000 (17:10 +0200)]
eqdnsmessage: adjust to type changes in dnspython
(cherry picked from commit
255ec835c0c0475f86ec81ed838dd3014d365043 )
Peter van Dijk [Mon, 25 Sep 2023 13:53:14 +0000 (15:53 +0200)]
Merge pull request #13271 from Habbie/backport-13245-to-auth-4.8.x
auth-4.8.x: smysql: stop explicity setting MYSQL_OPT_RECONNECT to 0
Peter van Dijk [Tue, 12 Sep 2023 15:09:57 +0000 (17:09 +0200)]
smysql: stop explicity setting MYSQL_OPT_RECONNECT to 0
Setting this option, even to 0, causes spurious warnings to the console
with recent libmysqlclient versions. The upstream bug
( https://bugs.mysql.com/bug.php?id=112089 )
has now been open for a month, so we're implementing a workaround.
0 was the default since at least MySQL 5.7, perhaps longer.
closes #13242
(cherry picked from commit
f1cbc20b72ab95531f0a84bab40ac6ea1610241f )
Peter van Dijk [Mon, 18 Sep 2023 07:46:16 +0000 (09:46 +0200)]
Merge pull request #13240 from Habbie/backport-13238-to-auth-4.8.x
auth-4.8: add default-catalog-zone setting
Peter van Dijk [Tue, 12 Sep 2023 10:34:43 +0000 (12:34 +0200)]
auth: add default-catalog-zone setting
(cherry picked from commit
c8734ecd8cca0089a8a9c032bfab1069f60381e6 )
Peter van Dijk [Mon, 4 Sep 2023 10:12:49 +0000 (12:12 +0200)]
Merge pull request #13186 from Habbie/backport-13105-to-auth-4.8.x
auth-4.8.x: (I)XFR: handle partial read of len prefix
Peter van Dijk [Thu, 31 Aug 2023 18:38:37 +0000 (20:38 +0200)]
Merge pull request #13187 from Habbie/backport-13071-to-auth-4.8.x
auth-4.8.x: fix code producing json
Remi Gacogne [Fri, 12 May 2023 13:29:37 +0000 (15:29 +0200)]
clang-tidy: Disable cppcoreguidelines-special-member-functions
We will need to re-enable it once https://github.com/PowerDNS/pdns/issues/12809
has been fixed.
(cherry picked from commit
4c6dd7970397f2220c015ab2403cc9f1977c1d19 )
Peter van Dijk [Wed, 30 Aug 2023 12:59:10 +0000 (14:59 +0200)]
Merge pull request #13188 from Habbie/backport-13018-to-auth-4.8.x
auth-4.8.x: calidns: fix setting an ECS source of 0
Peter van Dijk [Wed, 30 Aug 2023 12:58:47 +0000 (14:58 +0200)]
Merge pull request #13189 from Habbie/backport-13005-to-auth-4.8.x
auth-4.8.x: Fix incorrect optsize
Jelle Kaufmann [Sun, 9 Jul 2023 05:04:12 +0000 (07:04 +0200)]
Fix incorrect optsize
(cherry picked from commit
ca250bdad16b9ac6a2789541be88bf17a653262b )
Remi Gacogne [Wed, 12 Jul 2023 08:49:31 +0000 (10:49 +0200)]
calidns: Fix setting an ECS source of 0
(cherry picked from commit
ba770e4f65aefdadc489a169ae66fd20c897162c )
Otto Moerbeek [Mon, 31 Jul 2023 13:51:31 +0000 (15:51 +0200)]
Skip smileys for now, they take 4 bytes to encode and out current mysql
schema has 'utf8', which only handles 3 bytes max, should be changed to
utf8mb4 one day.
(cherry picked from commit
93ad866b4e2f4afb017e8b3b08041598a2378ea5 )
Otto Moerbeek [Mon, 31 Jul 2023 12:44:13 +0000 (14:44 +0200)]
Test a few non-ASCII chars in comments
(cherry picked from commit
56726eb113ab135ec890e79e94c0393986e9edad )
Otto Moerbeek [Wed, 26 Jul 2023 07:35:05 +0000 (09:35 +0200)]
Add a few testcases for "incomplete" URLs
(cherry picked from commit
7ab40a80547d112914b71919d8f4aa14cc24b047 )
Otto Moerbeek [Fri, 21 Jul 2023 12:23:02 +0000 (14:23 +0200)]
Check all chars in the URL are valid URL chars.
Should probably (also) be done in YaHTTP::URL, though currently the
return value of YaHTTP::URL::parse() is completely ignored, so
there is no easy way to do.
(cherry picked from commit
35eb2fcffa40e7f70b716e99158efe72a0e864d9 )
Otto Moerbeek [Fri, 21 Jul 2023 11:43:57 +0000 (13:43 +0200)]
Implement recomendationm from #13050: step 1
Revert #12660
(cherry picked from commit
26f5d6058d8b0cf4ad2f8da729cb906796c297a0 )
Otto Moerbeek [Wed, 9 Aug 2023 08:09:36 +0000 (10:09 +0200)]
remove redundant assignment
(cherry picked from commit
8d3ab63b412fb4b9fd8732af47a5d1c18ba7e786 )
Peter van Dijk [Mon, 7 Aug 2023 17:13:36 +0000 (19:13 +0200)]
IXFR client: handle partial reads of the TCP chunk length header, plus:
* add primarySOACount to exception text
* add indicator of current state to exception text
* a test
(cherry picked from commit
8faf5a90992b2613cf5999c8dd5e26b0025050b7 )
Peter van Dijk [Mon, 7 Aug 2023 17:13:11 +0000 (19:13 +0200)]
Peter van Dijk [Wed, 30 Aug 2023 11:53:43 +0000 (13:53 +0200)]
Merge pull request #13194 from Habbie/auth-4.8-docker-compose-space
auth-4.8: unbreak docker compose
Peter van Dijk [Tue, 29 Aug 2023 14:24:21 +0000 (16:24 +0200)]
unverbose apt
Peter van Dijk [Tue, 29 Aug 2023 13:07:19 +0000 (15:07 +0200)]
switch from `docker-compose` to `docker compose` and
stop installing docker-compose because that uninstalls runc
Peter van Dijk [Mon, 14 Aug 2023 07:37:26 +0000 (09:37 +0200)]
Merge pull request #13099 from Habbie/backport-13096-to-auth-4.8.x
auth 4.8 lmdb: when broadcasting indexes, -do- rewrite them even if they are unchanged
Peter van Dijk [Wed, 2 Aug 2023 12:35:32 +0000 (14:35 +0200)]
auth lmdb: when broadcasting indexes, -do- rewrite them even if they are unchanged
(cherry picked from commit
e0e59b3868b4caf7a2e4f93e6d8a802b8d83eccd )
Peter van Dijk [Thu, 6 Jul 2023 16:27:26 +0000 (18:27 +0200)]
Merge pull request #12996 from Habbie/backport-12990-to-auth-4.8.x
auth 4.8.x lmdb: in Lightning Stream mode, during deleteDomain, use RW transaction to get ID list
Peter van Dijk [Thu, 6 Jul 2023 16:19:03 +0000 (18:19 +0200)]
Merge pull request #12997 from Habbie/backport-12985-to-auth-4.8.x
auth 4.8 lmdb: add backend commands for checking & refreshing indexes
Peter van Dijk [Thu, 6 Jul 2023 16:18:48 +0000 (18:18 +0200)]
Merge pull request #12993 from Habbie/backport-12935-to-auth-4.8.x
auth-4.8.x: Stop using the now deprecated ERR_load_CRYPTO_strings() to detect OpenSSL
Peter van Dijk [Thu, 6 Jul 2023 15:06:10 +0000 (17:06 +0200)]
Merge pull request #12992 from Habbie/backport-12892-to-auth-4.8.x
auth-4.8: YaHTTP: Prevent integer overflow on very large chunks
Peter van Dijk [Thu, 6 Jul 2023 15:05:38 +0000 (17:05 +0200)]
Merge pull request #12991 from Habbie/backport-12961-to-auth-4.8.x
auth-4.8.x: Work around Red Hat 8 pooping the bed in OpenSSL's headers
Peter van Dijk [Thu, 6 Jul 2023 10:28:22 +0000 (12:28 +0200)]
auth lmdb: add index refresh-all backend command
(cherry picked from commit
a451e81e890c91833d8f0c66488f488647ed51b6 )
Peter van Dijk [Tue, 4 Jul 2023 18:25:09 +0000 (20:25 +0200)]
auth lmdb: add 'index check domains' and 'index refresh domains <ID>' backend-cmds
(cherry picked from commit
d250e94f22407e2c8a08853229c8030382c75581 )
Peter van Dijk [Thu, 6 Jul 2023 13:09:07 +0000 (15:09 +0200)]
auth lmdb: in Lightning Stream mode, during deleteDomain, use RW transaction to get ID list
(cherry picked from commit
3a99c00de710001bf28b940578ddc8d92272b28a )
Remi Gacogne [Wed, 21 Jun 2023 12:58:15 +0000 (14:58 +0200)]
Stop using the now deprecated ERR_load_CRYPTO_strings() to detect OpenSSL
And move to BN_new() instead, which has been present since at least
0.9.6 and is still in 3.1.
(cherry picked from commit
9fcef4932c9323b085984f8a087045fef70103f5 )
Remi Gacogne [Wed, 8 Mar 2023 17:25:30 +0000 (18:25 +0100)]
YaHTTP: Prevent integer overflow on very large chunks
If the chunk_size is very close to the maximum value of an integer,
we trigger an integer overflow when checking if we have a trailing
newline after the payload.
Reported by OSS-Fuzz as:
https://oss-fuzz.com/testcase-detail/
6439610474692608
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=56804
(cherry picked from commit
b602982fc5b4fb9139dec591541e0c070ceb47f5 )
Remi Gacogne [Wed, 28 Jun 2023 13:23:35 +0000 (15:23 +0200)]
Work around Red Hat 8 pooping the bed in OpenSSL's headers
The openssl/kdf.h header on EL8 is invalid because someone backported
a work-in-progress feature to an older OpenSSL branch and did not
bother to backport the fixes that were added later.
Red Hat declined to fix their mess and helpfully suggested we do the
work instead in https://bugzilla.redhat.com/show_bug.cgi?id=
2215856
(cherry picked from commit
3dabf2d4a1a478fb00a232259e8043f075eb4d03 )