Commit 432ebd54 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a couple of asserts to explain stuff to Coverity

parent dba23219
......@@ -926,6 +926,7 @@ VEP_Parse(const struct busyobj *bo, const char *p, size_t l)
* Match against a table while split over input
* sections.
*/
AN(vep->match);
do {
if (*p == '>') {
for (vm = vep->match;
......
......@@ -139,6 +139,7 @@ smp_reset_sign(struct smp_signctx *ctx)
{
memset(ctx->ss, 0, sizeof *ctx->ss);
assert(strlen(ctx->id) < sizeof *ctx->ss);
strcpy(ctx->ss->ident, ctx->id);
ctx->ss->unique = ctx->unique;
ctx->ss->mapped = (uintptr_t)ctx->ss;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment