Files
asterisk/res
zhengsh fe478ddc14 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:21 +00:00
..
2023-04-03 07:12:13 -05:00
2023-01-30 16:17:20 -05:00
2021-12-03 12:12:02 -06:00
2023-04-03 07:12:13 -05:00
2023-03-16 09:21:52 -05:00
2021-11-18 16:02:22 -06:00
2021-11-18 16:02:22 -06:00
2021-11-18 16:02:22 -06:00
2021-11-18 16:02:22 -06:00
2021-11-18 16:02:22 -06:00
2021-11-18 16:02:22 -06:00
2021-11-18 16:02:22 -06:00
2021-11-18 16:02:22 -06:00
2021-11-18 16:02:22 -06:00
2021-12-03 12:12:02 -06:00
2021-11-15 15:41:51 -06:00
2021-12-03 12:12:02 -06:00
2022-05-09 08:21:58 -05:00
2021-11-15 15:41:51 -06:00
2021-11-15 15:41:51 -06:00
2021-12-03 12:12:02 -06:00
2022-07-12 07:45:19 -05:00
2021-12-03 12:12:02 -06:00
2022-03-24 12:01:32 -05:00
2021-11-18 16:25:23 -06:00
2021-11-15 15:41:51 -06:00
2021-11-15 15:41:51 -06:00
2021-11-15 15:41:51 -06:00
2023-01-30 16:17:20 -05:00
2021-11-15 15:41:51 -06:00
2021-12-03 12:12:02 -06:00
2021-12-03 12:12:02 -06:00