Re: HPACK edge cases

On Fri, Mar 07, 2014 at 09:11:56PM +0900, Tatsuhiro Tsujikawa wrote:
> On Fri, Mar 7, 2014 at 8:40 PM, Johnny Graettinger <
> >
> > EOS has value iff it may be used for padding. As HEADERS etc now have an
> > explicit padding mechanism I'm also not sure it's needed. (Also: To pad the
> > table need only have an 8-bit code. As a canonical code, all-zeros would be
> > the shortest code in the table).
> >
> >
> A while ago, we discussed this in the ML.
> http://lists.w3.org/Archives/Public/ietf-http-wg/2013OctDec/1866.html
> 
> In short, strictly more than 7 bits of 1 if encountered in decoding must be
> treated as error.

Even with valid UTF-8 (albeit with currently unassigned codepoints), one can
come up with values that have 105 consequtive 1 bits if compressed with
current tables.

-Ilari

Received on Friday, 7 March 2014 18:23:06 UTC