From 00356f28e3aa07e6729313db2b9088f4e1f292cc Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Tue, 10 Sep 2024 12:02:47 -0700 Subject: [PATCH] Verify that the refcounter has a correct value after command run. --- scripts/fuzz/rfz_command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/fuzz/rfz_command.c b/scripts/fuzz/rfz_command.c index 9f87b034..c663c9b8 100644 --- a/scripts/fuzz/rfz_command.c +++ b/scripts/fuzz/rfz_command.c @@ -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); }