Skip to content

Commit

Permalink
Verify that the refcounter has a correct value after command run.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Sep 10, 2024
1 parent 6563e75 commit 00356f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/fuzz/rfz_command.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ ExecuteRTPPCommand(struct rtpp_conf *gcp, const char *data, size_t size, int deb
}
assert(tp == cmd->reply);
assert(trp == cmd->reply->rcnt);
assert(CALL_SMETHOD(cmd->reply->rcnt, peek) == 1);
free_command(cmd);
return (rval);
}

0 comments on commit 00356f2

Please sign in to comment.