RFC Errata


Errata Search

 
Source of RFC  
Summary Table Full Records

Found 1 record.

Status: Reported (1)

RFC 1951, "DEFLATE Compressed Data Format Specification version 1.3", May 1996

Source of RFC: Legacy

Errata ID: 7764
Status: Reported
Type: Technical
Publication Format(s) : TEXT

Reported By: Hiroki Kobayashi
Date Reported: 2024-01-15

Section 3.2.5 says:

The extra bits should be interpreted as a machine integer 
stored with the most-significant bit first, e.g., bits 1110 
represent the value 14.

It should say:

The extra bits should be interpreted as a machine integer 
stored with the least-significant bit first, e.g., bits 0111 
represent the value 14.

Notes:

In tools like infgen, unlike huffman codes which are reversed after read (https://github.com/madler/infgen/blob/2d2300507d24b398dfc7482f3429cc0061726c8b/infgen.c#L893-L901), extra bits are read as-is (in the LSB-first order) and never get reversed: https://github.com/madler/infgen/blob/2d2300507d24b398dfc7482f3429cc0061726c8b/infgen.c#L1038

Report New Errata



Advanced Search