diff options
| author | LemonBoy <thatlemon@gmail.com> | 2020-10-29 17:16:03 +0100 |
|---|---|---|
| committer | LemonBoy <thatlemon@gmail.com> | 2020-10-29 17:16:03 +0100 |
| commit | 20fba0933f74efcf9a411749d28bea880cd8e0b1 (patch) | |
| tree | e2d4dd23f3d74cbffd599f38c90ad71b028fec0f /lib/std/math.zig | |
| parent | 88eb3ae8e5ff5aa53ff197ca3e008502b043936f (diff) | |
| download | zig-20fba0933f74efcf9a411749d28bea880cd8e0b1.tar.gz zig-20fba0933f74efcf9a411749d28bea880cd8e0b1.zip | |
std/deflate: Avoid reading past end of stream
Use a conservative (and slower) approach in the Huffman decoder fast
path.
Closes #6847
Diffstat (limited to 'lib/std/math.zig')
| -rw-r--r-- | lib/std/math.zig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/std/math.zig b/lib/std/math.zig index f0c4f74d73..ffc0aa168a 100644 --- a/lib/std/math.zig +++ b/lib/std/math.zig @@ -1141,4 +1141,3 @@ test "math.comptime" { comptime const v = sin(@as(f32, 1)) + ln(@as(f32, 5)); testing.expect(v == sin(@as(f32, 1)) + ln(@as(f32, 5))); } - |
