• Pål Hermunn Johansen's avatar
    Remove assert in shared memory · f4b2cb9c
    Pål Hermunn Johansen authored
    Even though the shared memory log should always have only one writer,
    the varnish process, this is not enforced by the kernel through access
    rights. For this reason, the line
    
         assert(b->vsc->vcls > 0);
    
    could crash Varnish if a process decided to write to the shared memory
    log. Now this bad behavior will just affect other readers of the
    shared memory log, and not the varnish process itself.
    f4b2cb9c
Name
Last commit
Last update
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...
.gitignore 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 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.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...