Files
asterisk/res
zhengsh 25a766f49d res_rtp_asterisk: Move ast_rtp_rtcp_report_alloc using rtp->themssrc_valid into the scope of the rtp_instance lock.
From the gdb information, it was found that when calling __ast_free, the size of the
allocated space pointed to by the pointer matches the size created when rtp->themssrc_valid
is equal to 0. However, in reality, when reading the value of rtp->themssrc_valid in gdb,
it is found to be 1.

Within ast_rtcp_write(), the call to ast_rtp_rtcp_report_alloc() uses rtp->themssrc_valid,
which is outside the protection of the rtp_instance lock. However,
ast_rtcp_generate_report(), which is called by ast_rtcp_generate_compound_prefix(), uses
rtp->themssrc_valid within the protection of the rtp_instance lock.

This can lead to the possibility that the value of rtp->themssrc_valid used in the call to
ast_rtp_rtcp_report_alloc() may be different from the value of rtp->themssrc_valid used
within ast_rtcp_generate_report().

Resolves: asterisk#63
2023-07-12 15:56:17 +00:00
..
2023-04-03 07:13:57 -05:00
2023-01-31 12:59:16 -06:00
2021-12-03 10:38:39 -06:00
2023-04-03 07:13:57 -05:00
2023-03-16 10:43:19 -05:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-12-03 10:38:39 -06:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2022-05-09 08:21:45 -05:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2022-07-12 07:46:03 -05:00
2021-12-03 10:38:39 -06:00
2022-03-24 12:00:58 -05:00
2021-11-18 16:59:26 -06:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2023-01-31 12:59:16 -06:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2021-12-03 10:38:39 -06:00