about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorStig <stig@stig.io>2024-01-21 16:44:53 +0100
committerGitHub <noreply@github.com>2024-01-21 16:44:53 +0100
commitfac81355974ea8a6a6f439a3b3df859194816f52 (patch)
tree0db779f2268077043b6ce609371727934138df53 /pkgs
parentbb64af119615ac73227ac3ae7224c61e5d088f64 (diff)
parentec5806b8e2956941bae8da9199f62223ca1b9e3c (diff)
Merge pull request #281846 from stigtsp/perl/session-token-null-byte-patch
perlPackages.SessionToken: add patch
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/perl-packages.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix
index 572ccc701e51f..e1e4f350ceb8b 100644
--- a/pkgs/top-level/perl-packages.nix
+++ b/pkgs/top-level/perl-packages.nix
@@ -22426,6 +22426,13 @@ with self; {
       url = "mirror://cpan/authors/id/F/FR/FRACTAL/Session-Token-1.503.tar.gz";
       hash = "sha256-MsPflu9FXHGHA2Os2VDdxPvISMWU9LxVshtEz5efeaE=";
     };
+    patches = [
+      # Add final null-byte to tokens. https://github.com/hoytech/Session-Token/pull/3
+      (fetchpatch {
+        url = "https://github.com/hoytech/Session-Token/commit/cd64e7b69986054bb715755290811308159b7959.patch";
+        hash = "sha256-nMQmdvVQW8cQYO0+bLJcdVfSOLVIsongk+71fQ7fQdU=";
+      })
+    ];
     meta = {
       description = "Secure, efficient, simple random session token generation";
       homepage = "https://github.com/hoytech/Session-Token";