about summary refs log tree commit diff
path: root/lisp
diff options
context:
space:
mode:
authorRyan Lahfa <tvl@lahfa.xyz>2024-01-20T01·54+0100
committerclbot <clbot@tvl.fyi>2024-01-20T17·14+0000
commite98ea31bbd17e71566d56810fa9c1d08960461ad (patch)
tree178b2a33746fe565b1ff38697fcee47ebdee08ad /lisp
parenta27edf6405070a37b959572e20a0fa28a7a71a33 (diff)
fix(nix-compat): accept SRI hashes of invalid length r/7429
In cl/10468, we accepted SRI hashes of invalid padding while checking
their trailing bits.

In this commit, we accept SRI hashes of invalid padding and invalid length, as Nix does.

Real world example: `pkgs.javaPackages.openjfx11.deps`
<https://github.com/NixOS/nixpkgs/blob/849e4dc5ff0ae70fb7a0df19dbbf633e408c0f32/pkgs/development/compilers/openjdk/openjfx/11.nix#L71>
in nixpkgs.

Change-Id: I834437e7b94dab9fbb030163f7a2741f52bbf03a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10668
Autosubmit: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'lisp')
0 files changed, 0 insertions, 0 deletions