• Martin Blix Grydeland's avatar
    Fix buffer underflow in _vsb_indent · 2b85c12f
    Martin Blix Grydeland authored
    If s_indent > 0 and the buffer is empty, it would check s_buf[-1] for
    the '\n' character.
    
    Now it will indent either on previous character being a newline, or on
    empty buffer. This allows indenting also the very first line of a
    buffer.
    2b85c12f
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...
redhat 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...