vss: Add an assertion for vsst->header_buf.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 21 Apr 2017 18:30:12 +0000 (20:30 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 26 Apr 2017 12:06:45 +0000 (14:06 +0200)
commit4c5be8deb22752fad56cff9dd7b35e8d09e3042d
treed3ab29aa7541c59afc94df37e2f066f0f78132b4
parentb1e7d42b336b4c41faf7767a530b890c22a6e458
vss: Add an assertion for vsst->header_buf.

if vsst->header_len > 0 but vsst->header_buf is NULL, something weird
is going on and non-obvious bad things will happen later. The assertion
makes sure we notice early that there is a problem. It also silences a
scan-build warning.
vss.c