Skip to content

Commit

Permalink
Move reply before after_success array, so if we for some
Browse files Browse the repository at this point in the history
reason overflow the latter that would trigger asan and not
just trash reply.
  • Loading branch information
sobomax committed Aug 30, 2024
1 parent b004d7e commit 06af4c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtpp_command_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ struct rtpp_command {
int no_glock;
struct rtpp_session *sp;
struct rtpp_log *glog;
struct after_success_h after_success[MAX_SUBC_NUM];
struct rtpc_reply *reply;
struct after_success_h after_success[MAX_SUBC_NUM];
};

0 comments on commit 06af4c3

Please sign in to comment.