Skip to content

Commit 0510873

Browse files
authored
deflate-raw: Disallow input data after BFINAL (#49)
It was ambiguous whether DecompressionStream permitted extra data after the BFINAL block when used with the deflate-raw format. Clarify that it does not.
1 parent 8e3b2c4 commit 0510873

File tree

2 files changed

+543
-273
lines changed

2 files changed

+543
-273
lines changed

index.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ A <dfn>compression context</dfn> is the internal state maintained by a compressi
8484

8585
* Implementations must be "compliant" as described in [[!RFC1951]] section 1.4.
8686
* Non-[[!RFC1951]]-conforming blocks must not be created by CompressionStream, and are errors for DecompressionStream.
87+
* It is an error if there is additional input data after the final block indicated by the `BFINAL` flag.
8788

8889
: `gzip`
8990
:: "GZIP file format" [[!RFC1952]]

0 commit comments

Comments
 (0)