]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agoFixup dnsbackend.cc and dnsbackend.hh 13731/head
Fred Morcos [Mon, 15 Jan 2024 15:19:48 +0000 (16:19 +0100)] 
Fixup dnsbackend.cc and dnsbackend.hh

2 years agoFormat dnsbackend.hh and dnsbackend.cc
Fred Morcos [Mon, 15 Jan 2024 15:00:54 +0000 (16:00 +0100)] 
Format dnsbackend.hh and dnsbackend.cc

2 years agoMerge pull request #13702 from omoerbeek/rec-log-ref-wrapper
Otto Moerbeek [Mon, 22 Jan 2024 12:20:03 +0000 (13:20 +0100)] 
Merge pull request #13702 from omoerbeek/rec-log-ref-wrapper

rec: use ref wrapper instead of raw pointer in variant

2 years agoMerge pull request #13728 from paddg/patch-1
Otto Moerbeek [Mon, 22 Jan 2024 12:13:14 +0000 (13:13 +0100)] 
Merge pull request #13728 from paddg/patch-1

STDOUT instead of STDERR. Probably a typo.

2 years agoMerge pull request #13725 from chbruyand/auth-tinydnsbackend-build
Peter van Dijk [Mon, 22 Jan 2024 10:58:48 +0000 (11:58 +0100)] 
Merge pull request #13725 from chbruyand/auth-tinydnsbackend-build

auth: fix tinydnsbackend compilation issue

2 years agoMerge pull request #13729 from Habbie/13633-avoid-copy
Peter van Dijk [Mon, 22 Jan 2024 09:11:41 +0000 (10:11 +0100)] 
Merge pull request #13729 from Habbie/13633-avoid-copy

getAllDomains catalog: avoid useless copy

2 years agoMerge pull request #13650 from rgacogne/ddist-sym-libcrypto
Remi Gacogne [Mon, 22 Jan 2024 08:23:52 +0000 (09:23 +0100)] 
Merge pull request #13650 from rgacogne/ddist-sym-libcrypto

dnsdist: Fall back to libcrypto for authenticated encryption

2 years agoFix test by updating expected_result 13728/head
Winfried Angele [Mon, 22 Jan 2024 07:41:29 +0000 (08:41 +0100)] 
Fix test by updating expected_result

2 years agoMerge pull request #13727 from rgacogne/coverity-20240119
Otto Moerbeek [Mon, 22 Jan 2024 07:26:25 +0000 (08:26 +0100)] 
Merge pull request #13727 from rgacogne/coverity-20240119

dnsdist, rec: Fix missed optimizations reported by Coverity

2 years agoMerge pull request #13722 from Habbie/createforward-word-prefix
Peter van Dijk [Fri, 19 Jan 2024 15:44:27 +0000 (16:44 +0100)] 
Merge pull request #13722 from Habbie/createforward-word-prefix

auth LUA createForward: allow non-hex word prefix

2 years agogetAllDomains catalog: avoid useless copy 13729/head
Peter van Dijk [Fri, 19 Jan 2024 14:26:21 +0000 (15:26 +0100)] 
getAllDomains catalog: avoid useless copy

2 years agobit of formatting 13722/head
Peter van Dijk [Fri, 19 Jan 2024 13:44:35 +0000 (14:44 +0100)] 
bit of formatting

2 years agoreference instead of copy, and move some code for clarity
Peter van Dijk [Fri, 19 Jan 2024 13:41:18 +0000 (14:41 +0100)] 
reference instead of copy, and move some code for clarity

2 years agoMerge pull request #12891 from Habbie/upgrading-el9-sha1
Peter van Dijk [Fri, 19 Jan 2024 12:38:26 +0000 (13:38 +0100)] 
Merge pull request #12891 from Habbie/upgrading-el9-sha1

auth docs: add note about EL9 and SHA1

2 years agoMerge pull request #13633 from Habbie/gsql-alldomains-catalog
Peter van Dijk [Fri, 19 Jan 2024 12:35:15 +0000 (13:35 +0100)] 
Merge pull request #13633 from Habbie/gsql-alldomains-catalog

auth: set catalog in gsql getAllDomains

2 years agoSTDOUT instead of STDERR. Probably a typo.
Winfried Angele [Fri, 19 Jan 2024 12:07:53 +0000 (13:07 +0100)] 
STDOUT instead of STDERR. Probably a typo.

It's not an error message.

2 years agonote changed query in updating.rst 13633/head
Peter van Dijk [Fri, 19 Jan 2024 12:01:36 +0000 (13:01 +0100)] 
note changed query in updating.rst

2 years agodnsdist: Fix a missed optimization reported by Coverity 13727/head
Remi Gacogne [Fri, 19 Jan 2024 07:55:04 +0000 (08:55 +0100)] 
dnsdist: Fix a missed optimization reported by Coverity

2 years agodnstap: Fix a missed optimization reported by Coverity
Remi Gacogne [Fri, 19 Jan 2024 07:54:37 +0000 (08:54 +0100)] 
dnstap: Fix a missed optimization reported by Coverity

2 years agoMerge pull request #13726 from PowerDNS/dependabot/github_actions/actions/cache-4
Remi Gacogne [Fri, 19 Jan 2024 07:52:32 +0000 (08:52 +0100)] 
Merge pull request #13726 from PowerDNS/dependabot/github_actions/actions/cache-4

build(deps): bump actions/cache from 3 to 4

2 years agoMerge pull request #13649 from chbruyand/auth-delay-notifications
Charles-Henri Bruyand [Thu, 18 Jan 2024 18:46:39 +0000 (19:46 +0100)] 
Merge pull request #13649 from chbruyand/auth-delay-notifications

auth: add a configurable delay for notifications

2 years agoauth: document new delay-notifications setting 13649/head
Charles-Henri Bruyand [Thu, 18 Jan 2024 15:29:41 +0000 (16:29 +0100)] 
auth: document new delay-notifications setting

2 years agoauth: a bit of tidy
Charles-Henri Bruyand [Mon, 18 Dec 2023 13:53:04 +0000 (14:53 +0100)] 
auth: a bit of tidy

2 years agoauth: reformat communicator.hh and communicator.cc
Charles-Henri Bruyand [Mon, 18 Dec 2023 13:43:22 +0000 (14:43 +0100)] 
auth: reformat communicator.hh and communicator.cc

2 years agobuild(deps): bump actions/cache from 3 to 4 13726/head
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>
2 years agoauth: fix tinydnsbackend compilation issue 13725/head
Charles-Henri Bruyand [Thu, 18 Jan 2024 15:13:49 +0000 (16:13 +0100)] 
auth: fix tinydnsbackend compilation issue

2 years agoMerge pull request #13716 from chbruyand/dnsdist-protocol-logging
Remi Gacogne [Thu, 18 Jan 2024 13:59:55 +0000 (14:59 +0100)] 
Merge pull request #13716 from chbruyand/dnsdist-protocol-logging

dnsdist: properly set protocol when logging

2 years agoMerge pull request #13481 from berthubert/lua-localwho
Peter van Dijk [Thu, 18 Jan 2024 11:43:33 +0000 (12:43 +0100)] 
Merge pull request #13481 from berthubert/lua-localwho

Add and document a `localwho()` function for LUA records

2 years agodnsdist: revert some clang-tidy related changes 13716/head
Charles-Henri Bruyand [Thu, 18 Jan 2024 10:44:36 +0000 (11:44 +0100)] 
dnsdist: revert some clang-tidy related changes

2 years agoMerge pull request #13719 from omoerbeek/rec-coverity-20240116
Remi Gacogne [Thu, 18 Jan 2024 09:30:05 +0000 (10:30 +0100)] 
Merge pull request #13719 from omoerbeek/rec-coverity-20240116

rec: coverity 20240116

2 years agoMerge pull request #13555 from neheb/clann
Remi Gacogne [Thu, 18 Jan 2024 08:33:27 +0000 (09:33 +0100)] 
Merge pull request #13555 from neheb/clann

clang-tidy cleanups

2 years agodnsdist: test protobuf protocols for DoHTTP/3 and DoQ
Charles-Henri Bruyand [Wed, 17 Jan 2024 14:51:22 +0000 (15:51 +0100)] 
dnsdist: test protobuf protocols for DoHTTP/3 and DoQ

2 years agodnsmessage.proto: fix naming consistency
Charles-Henri Bruyand [Wed, 17 Jan 2024 14:50:26 +0000 (15:50 +0100)] 
dnsmessage.proto: fix naming consistency

2 years agodnsdist: add a test for new protobuf field httpVersion
Charles-Henri Bruyand [Wed, 17 Jan 2024 12:05:18 +0000 (13:05 +0100)] 
dnsdist: add a test for new protobuf field httpVersion

2 years agodnsdist: clang-tidy fixes
Charles-Henri Bruyand [Tue, 16 Jan 2024 18:07:56 +0000 (19:07 +0100)] 
dnsdist: clang-tidy fixes

2 years agoMerge pull request #13720 from Habbie/builder-update-fakeroot
Peter van Dijk [Tue, 16 Jan 2024 18:07:08 +0000 (19:07 +0100)] 
Merge pull request #13720 from Habbie/builder-update-fakeroot

pdns-builder: update to newest, removes fakeroot usage

2 years agoalso recognise uppercase hex
Peter van Dijk [Tue, 16 Jan 2024 16:20:04 +0000 (17:20 +0100)] 
also recognise uppercase hex

2 years agoRevert "Debian Trixie builder: install fakeroot pkg" 13720/head
Peter van Dijk [Tue, 16 Jan 2024 15:46:45 +0000 (16:46 +0100)] 
Revert "Debian Trixie builder: install fakeroot pkg"

This reverts commit a902e392a38905bec709468a6ebd26902a6c255a.

2 years agofix false check positive on modified submodule
Peter van Dijk [Tue, 16 Jan 2024 15:41:08 +0000 (16:41 +0100)] 
fix false check positive on modified submodule

2 years agotidy: this function is not really complex, just long
Peter van Dijk [Tue, 16 Jan 2024 14:45:07 +0000 (15:45 +0100)] 
tidy: this function is not really complex, just long

2 years agotidy: use .empty()
Peter van Dijk [Tue, 16 Jan 2024 14:15:13 +0000 (15:15 +0100)] 
tidy: use .empty()

2 years agotidy: fix short variable name
Peter van Dijk [Tue, 16 Jan 2024 14:14:56 +0000 (15:14 +0100)] 
tidy: fix short variable name

2 years agotidy: avoid pointer math
Peter van Dijk [Tue, 16 Jan 2024 14:14:28 +0000 (15:14 +0100)] 
tidy: avoid pointer math

2 years agosmall refactor
Peter van Dijk [Tue, 16 Jan 2024 14:10:36 +0000 (15:10 +0100)] 
small refactor

2 years agoauth LUA createForward: allow non-hex word prefix
Peter van Dijk [Tue, 16 Jan 2024 14:08:36 +0000 (15:08 +0100)] 
auth LUA createForward: allow non-hex word prefix

2 years agopdns-builder: update to newest, removes fakeroot usage
Peter van Dijk [Tue, 16 Jan 2024 11:42:57 +0000 (12:42 +0100)] 
pdns-builder: update to newest, removes fakeroot usage

2 years ago1524944 Use of 32-bit time_t 13719/head
Otto Moerbeek [Tue, 16 Jan 2024 08:53:41 +0000 (09:53 +0100)] 
1524944 Use of 32-bit time_t

2 years ago1524911 Use of 32-bit time_t
Otto Moerbeek [Tue, 16 Jan 2024 08:53:21 +0000 (09:53 +0100)] 
1524911 Use of 32-bit time_t

2 years ago1524889 COPY_INSTEAD_OF_MOVE
Otto Moerbeek [Tue, 16 Jan 2024 08:52:48 +0000 (09:52 +0100)] 
1524889 COPY_INSTEAD_OF_MOVE
1524930 COPY_INSTEAD_OF_MOVE

2 years agoformat pdns/dnsdist-lua-actions.cc pdns/dnsdist-protobuf.cc pdns/dnsdist-protobuf...
Charles-Henri Bruyand [Mon, 15 Jan 2024 16:57:19 +0000 (17:57 +0100)] 
format pdns/dnsdist-lua-actions.cc pdns/dnsdist-protobuf.cc pdns/dnsdist-protobuf.hh pdns/dnstap.cc pdns/dnstap.hh

2 years agodnsdist: properly set protocol for dnstap and protobuf logging when using DoQ or...
Charles-Henri Bruyand [Mon, 15 Jan 2024 16:56:44 +0000 (17:56 +0100)] 
dnsdist: properly set protocol for dnstap and protobuf logging when using DoQ or DoH3

2 years agoMerge pull request #13706 from omoerbeek/rec-coverity-20240112 13721/head
Otto Moerbeek [Mon, 15 Jan 2024 11:02:31 +0000 (12:02 +0100)] 
Merge pull request #13706 from omoerbeek/rec-coverity-20240112

Fix a few coverity reports

2 years agoMerge pull request #13711 from omoerbeek/snmp-cleanup
Otto Moerbeek [Mon, 15 Jan 2024 10:21:57 +0000 (11:21 +0100)] 
Merge pull request #13711 from omoerbeek/snmp-cleanup

rec: Cleanup of code doing SNMP OID handling

2 years agoFix typos in annotations: 1524912 COPY_INSTEAD_OF_MOVE and 1524842 COPY_INSTEAD_OF_MOVE 13706/head
Otto Moerbeek [Fri, 12 Jan 2024 10:27:57 +0000 (11:27 +0100)] 
Fix typos in annotations: 1524912 COPY_INSTEAD_OF_MOVE and 1524842 COPY_INSTEAD_OF_MOVE

2 years agoMerge pull request #13654 from zeha/rec-make-outoftree
Otto Moerbeek [Mon, 15 Jan 2024 10:19:36 +0000 (11:19 +0100)] 
Merge pull request #13654 from zeha/rec-make-outoftree

rec: allow out-of-tree builds

2 years agoMerge pull request #13713 from chbruyand/dnsdist-issue-13690
Remi Gacogne [Mon, 15 Jan 2024 09:07:04 +0000 (10:07 +0100)] 
Merge pull request #13713 from chbruyand/dnsdist-issue-13690

dnsdist: DoH3 add content-type header information in responses

2 years agoMerge pull request #13714 from spheron1/patch-1
Peter van Dijk [Mon, 15 Jan 2024 08:55:00 +0000 (09:55 +0100)] 
Merge pull request #13714 from spheron1/patch-1

Fix country()/countryCode() mixup in example Lua Record documentation

2 years agoFix country()/countryCode() mixup in example Lua Record 13714/head
Edward Dore [Sun, 14 Jan 2024 11:22:29 +0000 (11:22 +0000)] 
Fix country()/countryCode() mixup in example Lua Record

The country() function returns true if the country code for the query source IP address matches the country code passed to the function.
The countryCode() function doesn't take any arguments and just returns the country code of the query source IP address.

For this example, we're checking if the country for the query source IP address is "US" and expecting a true/false response, so country() is the correct function to use.
Alternatively, this would be something like "if countryCode() == 'US' then return...".

2 years agoUpdate pdns/dnsdistdist/doh3.cc 13713/head
Charles-Henri Bruyand [Fri, 12 Jan 2024 18:23:36 +0000 (19:23 +0100)] 
Update pdns/dnsdistdist/doh3.cc

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agodnsdist: add content-type header information in http/3 responses, add relayed respons...
Charles-Henri Bruyand [Fri, 12 Jan 2024 15:08:00 +0000 (16:08 +0100)] 
dnsdist: add content-type header information in http/3 responses, add relayed response size in http/3 vinfologs

2 years agoMerge pull request #13580 from Habbie/ubuntu-noble
Peter van Dijk [Fri, 12 Jan 2024 13:58:03 +0000 (14:58 +0100)] 
Merge pull request #13580 from Habbie/ubuntu-noble

add ubuntu-noble build target and test it daily

2 years agoCleanup of code doing SNMP OID handling 13711/head
Otto Moerbeek [Fri, 12 Jan 2024 13:16:08 +0000 (14:16 +0100)] 
Cleanup of code doing SNMP OID handling

2 years agoMerge pull request #13707 from Habbie/auth-4.9.0-alpha1-docs
Peter van Dijk [Fri, 12 Jan 2024 13:02:53 +0000 (14:02 +0100)] 
Merge pull request #13707 from Habbie/auth-4.9.0-alpha1-docs

docs&secpoll for auth-4.9.0-alpha1

2 years agodocs&secpoll for auth-4.9.0-alpha1 13707/head
Peter van Dijk [Fri, 12 Jan 2024 10:43:50 +0000 (11:43 +0100)] 
docs&secpoll for auth-4.9.0-alpha1

2 years ago1524908 Use of auto that causes a copy
Otto Moerbeek [Fri, 12 Jan 2024 10:22:06 +0000 (11:22 +0100)] 
1524908 Use of auto that causes a copy

2 years ago1524920 COPY_INSTEAD_OF_MOVE
Otto Moerbeek [Fri, 12 Jan 2024 09:42:13 +0000 (10:42 +0100)] 
1524920 COPY_INSTEAD_OF_MOVE

2 years ago1524930 COPY_INSTEAD_OF_MOVE
Otto Moerbeek [Fri, 12 Jan 2024 09:40:37 +0000 (10:40 +0100)] 
1524930 COPY_INSTEAD_OF_MOVE

2 years ago1531280 COPY_INSTEAD_OF_MOVE
Otto Moerbeek [Fri, 12 Jan 2024 09:32:49 +0000 (10:32 +0100)] 
1531280 COPY_INSTEAD_OF_MOVE

2 years ago1528464 COPY_INSTEAD_OF_MOVE
Otto Moerbeek [Fri, 12 Jan 2024 09:27:59 +0000 (10:27 +0100)] 
1528464 COPY_INSTEAD_OF_MOVE

2 years agoMerge pull request #13441 from Habbie/auth-alias-ecs auth-4.9.0-alpha1
Peter van Dijk [Thu, 11 Jan 2024 15:14:52 +0000 (16:14 +0100)] 
Merge pull request #13441 from Habbie/auth-alias-ecs

auth: forward EDNS Client Subnet option during ALIAS processing

2 years agocleanups from clang-tidy 13441/head
Peter van Dijk [Thu, 11 Jan 2024 11:35:14 +0000 (12:35 +0100)] 
cleanups from clang-tidy

2 years agoMerge pull request #13683 from fredmorcos/cleanup-clang-tidy
Fred Morcos [Thu, 11 Jan 2024 13:46:34 +0000 (14:46 +0100)] 
Merge pull request #13683 from fredmorcos/cleanup-clang-tidy

Small cleanups of the Github clang-tidy helper scripts

2 years agoformat dnsproxy.{cc,hh}, ednssubnet.{cc,hh}, stubresolver.cc
Peter van Dijk [Thu, 11 Jan 2024 11:01:24 +0000 (12:01 +0100)] 
format dnsproxy.{cc,hh}, ednssubnet.{cc,hh}, stubresolver.cc

2 years agoremove isValid
Peter van Dijk [Thu, 11 Jan 2024 09:04:39 +0000 (10:04 +0100)] 
remove isValid

2 years agoadd testECSNone
Peter van Dijk [Tue, 9 Jan 2024 12:37:56 +0000 (13:37 +0100)] 
add testECSNone

2 years agoonly use the scope from the answer
Peter van Dijk [Thu, 7 Dec 2023 16:18:26 +0000 (17:18 +0100)] 
only use the scope from the answer

2 years agoauth-py tests: test ECS in ALIAS forwarding
Peter van Dijk [Tue, 7 Feb 2023 14:26:20 +0000 (15:26 +0100)] 
auth-py tests: test ECS in ALIAS forwarding

2 years agoregression-tests.auth-py/clientsubnetoption.py: fix equality operator
Peter van Dijk [Tue, 7 Feb 2023 14:21:09 +0000 (15:21 +0100)] 
regression-tests.auth-py/clientsubnetoption.py: fix equality operator

2 years agoixfrdist tests: refactor one function a bit
Peter van Dijk [Tue, 7 Feb 2023 13:46:01 +0000 (14:46 +0100)] 
ixfrdist tests: refactor one function a bit

2 years agoforward EDNS Client Subnet option during ALIAS processing
root [Thu, 19 May 2022 20:21:02 +0000 (16:21 -0400)] 
forward EDNS Client Subnet option during ALIAS processing

typo

2 years agoMerge pull request #13692 from romeroalx/fix-builder-trixie
Remi Gacogne [Wed, 10 Jan 2024 14:22:29 +0000 (15:22 +0100)] 
Merge pull request #13692 from romeroalx/fix-builder-trixie

GH Acttions: fix builder workflow for Debian Trixie

2 years agoReformat and tidy annotations 13702/head
Otto Moerbeek [Wed, 10 Jan 2024 13:54:08 +0000 (14:54 +0100)] 
Reformat and tidy annotations

2 years agorec: Avoid raw pointers by using a referrence wrapper inside a variant
Otto Moerbeek [Fri, 10 Feb 2023 13:38:34 +0000 (14:38 +0100)] 
rec: Avoid raw pointers by using a referrence wrapper inside a variant

2 years agoMerge pull request #13693 from omoerbeek/iputils-unused
Otto Moerbeek [Wed, 10 Jan 2024 11:37:48 +0000 (12:37 +0100)] 
Merge pull request #13693 from omoerbeek/iputils-unused

iputils: avoid unused warnings on !linux

2 years agoiputils: avoid unused warnings on !linux 13693/head
Otto Moerbeek [Wed, 10 Jan 2024 10:54:46 +0000 (11:54 +0100)] 
iputils: avoid unused warnings on !linux

2 years agoDebian Trixie builder: install fakeroot pkg 13692/head
romeroalx [Wed, 10 Jan 2024 10:04:04 +0000 (11:04 +0100)] 
Debian Trixie builder: install fakeroot pkg

2 years agoMerge pull request #13684 from omoerbeek/rec-prep-5.0.0
Otto Moerbeek [Wed, 10 Jan 2024 09:31:35 +0000 (10:31 +0100)] 
Merge pull request #13684 from omoerbeek/rec-prep-5.0.0

rec: Prepare for rec-5.0.1 final release

2 years agoMerge pull request #13689 from chbruyand/dnsdist-issue-13687
Remi Gacogne [Tue, 9 Jan 2024 15:38:23 +0000 (16:38 +0100)] 
Merge pull request #13689 from chbruyand/dnsdist-issue-13687

dnsdist: buffer HTTP/3 headers until the query has been dispatched

2 years agodnsdist: buffer h3 headers until query has been dispatched 13689/head
Charles-Henri Bruyand [Tue, 9 Jan 2024 13:46:03 +0000 (14:46 +0100)] 
dnsdist: buffer h3 headers until query has been dispatched

2 years agoMerge pull request #13688 from rgacogne/fix-provenance-artifacts
Remi Gacogne [Tue, 9 Jan 2024 12:18:01 +0000 (13:18 +0100)] 
Merge pull request #13688 from rgacogne/fix-provenance-artifacts

build-packages: Fix the handling of provenance artifacts

2 years agobuild-packages: Fix the handling of provenance artifacts 13688/head
Remi Gacogne [Tue, 9 Jan 2024 11:40:29 +0000 (12:40 +0100)] 
build-packages: Fix the handling of provenance artifacts

The current version of the SLSA framework uses upload-artifact v3
which is not compatible with download-artifact v4 (don't ask me).

2 years agoPrepare for rec-5.0.1 final release 13684/head
Otto Moerbeek [Mon, 8 Jan 2024 13:22:46 +0000 (14:22 +0100)] 
Prepare for rec-5.0.1 final release

2 years agoMerge pull request #13680 from rgacogne/rec-mtasker-1533199
Otto Moerbeek [Tue, 9 Jan 2024 09:52:02 +0000 (10:52 +0100)] 
Merge pull request #13680 from rgacogne/rec-mtasker-1533199

rec: Fix a potential null deref in `MTasker::schedule()`

2 years agoMerge pull request #13662 from PowerDNS/dependabot/cargo/pdns/recursordist/settings...
Otto Moerbeek [Tue, 9 Jan 2024 09:50:19 +0000 (10:50 +0100)] 
Merge pull request #13662 from PowerDNS/dependabot/cargo/pdns/recursordist/settings/rust/unsafe-libyaml-0.2.10

build(deps): bump unsafe-libyaml from 0.2.9 to 0.2.10 in /pdns/recursordist/settings/rust

2 years agoMerge pull request #13679 from rgacogne/update-upload-download-artifact
Remi Gacogne [Tue, 9 Jan 2024 09:24:23 +0000 (10:24 +0100)] 
Merge pull request #13679 from rgacogne/update-upload-download-artifact

ci: Update upload-artifact and download-artifact to version 4

2 years agorec: Fix a clang-tidy warning in test-mtasker.cc 13680/head
Remi Gacogne [Tue, 9 Jan 2024 09:15:37 +0000 (10:15 +0100)] 
rec: Fix a clang-tidy warning in test-mtasker.cc

2 years agoFixup Github clang-tidy helper scripts 13683/head
Fred Morcos [Tue, 2 Jan 2024 14:13:30 +0000 (15:13 +0100)] 
Fixup Github clang-tidy helper scripts

2 years agorec: Fix a potential null deref in MTasker::schedule()
Remi Gacogne [Tue, 9 Jan 2024 08:39:28 +0000 (09:39 +0100)] 
rec: Fix a potential null deref in MTasker::schedule()

The bug is located in a part of the code that we never actually
use since we always pass the current time to the function, so
I decided to reduce the complexity by making this parameter mandatory.

Reported by Coverity as CID 1533199.

2 years agostd::get removals 13555/head
Rosen Penev [Tue, 5 Dec 2023 23:55:13 +0000 (15:55 -0800)] 
std::get removals

Can be replaced by structured bindings.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agofix use after move
Rosen Penev [Tue, 5 Dec 2023 20:04:39 +0000 (12:04 -0800)] 
fix use after move

instead of calling append(), just construct a new string.

Signed-off-by: Rosen Penev <rosenp@gmail.com>