Skip to content

Commit

Permalink
vmod_debug: Add WS_Alloc() assertions
Browse files Browse the repository at this point in the history
Coverity CIDs 1633177 1633176
  • Loading branch information
nigoroll committed Dec 5, 2024
1 parent 6f374e3 commit a1c26ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vmod/vmod_debug_filters.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,7 @@ static const struct vdp xyzzy_vdp_chkcrc32 = {
p->priv = WS_Alloc(ws, sizeof *cfg); \
p->len = sizeof *cfg; \
} \
AN(p->priv); \
cfg = p->priv; \
INIT_OBJ(cfg, magic); \
if (mode_e == VENUM(log)) \
Expand Down

0 comments on commit a1c26ca

Please sign in to comment.