summaryrefslogtreecommitdiffstats
path: root/BaseTools/Conf/tools_def.template
diff options
context:
space:
mode:
authorChen, Christine <Yuwei.Chen@intel.com>2021-05-14 14:04:44 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-05-17 03:45:13 +0000
commit9cd854e19de230cdbf5b3781d3b686861cf0bc2f (patch)
treee7deb0e04310efce7013ad844362e8aa1518d5a2 /BaseTools/Conf/tools_def.template
parente0cb5e1814a67bb12dd476a72d1698350633bcbb (diff)
downloadedk2-9cd854e19de230cdbf5b3781d3b686861cf0bc2f.tar.gz
edk2-9cd854e19de230cdbf5b3781d3b686861cf0bc2f.tar.bz2
edk2-9cd854e19de230cdbf5b3781d3b686861cf0bc2f.zip
BaseTools/Brotli: Fix compressed data loss issue
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2946 Currenly, when using the Brotli tool to compress data, the output compressed binary file does not record complete compressed data when size of input file is too large, which makes the data loss and will trigger decompress-check issue. The Brotli document mentioned: The brotli tool use BrotliEncoderCompressStream method to compresses input stream to output stream. Under some circumstances (e.g. lack of output stream capacity) the BrotliEncoderOperation would require several calls to BrotliEncoderCompressStream. The method must be called again until both input stream is depleted and encoder has no more output after the method is called. This patch fixes this issue based on the Brotli document. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Yuwei Chen <yuwei.chen@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Conf/tools_def.template')
0 files changed, 0 insertions, 0 deletions