• Martin Blix Grydeland's avatar
    Fix an issue with hpack table shifting · 6a636e64
    Martin Blix Grydeland authored
    When inserting a new hpack table entry using a referenced name, and
    the referenced name would be removed from the table as a result of the
    insertion, there was a bug in the memory move/copy operations that
    would memmove a too large area. This wouldn't cause problems because
    we never used the full 32 bytes that the standard sets as per element
    overhead.
    
    Fix it, and the same time simplify the logic to be easier to read. Add
    a test case for trimmed indexed name insertion where the table isn't
    empty after removing the indexed entry.
    6a636e64
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.syntastic_c_config Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
Makefile.inc.phk Loading commit data...
Makefile.phk Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
config.phk Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish-legacy.m4 Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...