W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2014

Re: HPACK edge cases

From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Date: Fri, 7 Mar 2014 20:22:40 +0200
To: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Cc: Johnny Graettinger <jgraettinger@chromium.org>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20140307182240.GA23273@LK-Perkele-VII>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:24 UTC