You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please consider updating brotli to version 1.0.9 (latest).
6
-
7
-
Version 1.0.9 contains a fix to "integer overflow" problem. This happens when "one-shot" decoding API is used (or input chunk for streaming API is not limited), input size (chunk size) is larger than 2GiB, and input contains uncompressed blocks. After the overflow happens, `memcpy` is invoked with a gigantic `num` value, that will likely cause the crash.
8
-
9
7
### Introduction
10
8
11
9
Brotli is a generic-purpose lossless compression algorithm that compresses data
@@ -18,12 +16,10 @@ The specification of the Brotli Compressed Data Format is defined in [RFC 7932](
18
16
19
17
Brotli is open-sourced under the MIT License, see the LICENSE file.
> **Please note:** brotli is a "stream" format; it does not contain
20
+
> meta-information, like checksums or uncompresssed data length. It is possible
21
+
> to modify "raw" ranges of the compressed stream and the decoder will not
22
+
> notice that.
27
23
28
24
### Build instructions
29
25
@@ -35,25 +31,10 @@ You can download and install brotli using the [vcpkg](https://github.com/Microso
35
31
cd vcpkg
36
32
./bootstrap-vcpkg.sh
37
33
./vcpkg integrate install
38
-
vcpkg install brotli
34
+
./vcpkg install brotli
39
35
40
36
The brotli port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
41
37
42
-
#### Autotools-style CMake
43
-
44
-
[configure-cmake](https://github.com/nemequ/configure-cmake) is an
45
-
autotools-style configure script for CMake-based projects (not supported on Windows).
46
-
47
-
The basic commands to build, test and install brotli are:
48
-
49
-
$ mkdir out && cd out
50
-
$ ../configure-cmake
51
-
$ make
52
-
$ make test
53
-
$ make install
54
-
55
-
By default, debug binaries are built. To generate "release" `Makefile` specify `--disable-debug` option to `configure-cmake`.
56
-
57
38
#### Bazel
58
39
59
40
See [Bazel](http://www.bazel.build/)
@@ -68,10 +49,6 @@ The basic commands to build and install brotli are:
68
49
69
50
You can use other [CMake](https://cmake.org/) configuration.
70
51
71
-
#### Premake5
72
-
73
-
See [Premake5](https://premake.github.io/)
74
-
75
52
#### Python
76
53
77
54
To install the latest release of the Python module, run the following:
@@ -85,6 +62,18 @@ To install the tip-of-the-tree version, run:
85
62
See the [Python readme](python/README.md) for more details on installing
Dart compression framework with [fast FFI-based Brotli implementation](https://pub.dev/documentation/es_compression/latest/brotli/brotli-library.html) with ready-to-use prebuilt binaries for Win/Linux/Mac
0 commit comments