mirror of
https://github.com/coturn/coturn.git
synced 2025-10-31 23:11:28 +01:00
Fixes #601
This commit is contained in:
parent
13082beae8
commit
2edc14a193
@ -38,6 +38,8 @@ Version 4.5.2 'dan Eider':
|
|||||||
* Fix: Null pointer dereference on tcp_client_input_handler_rfc6062data function
|
* Fix: Null pointer dereference on tcp_client_input_handler_rfc6062data function
|
||||||
- Fix Issue #600 (by ycaibb)
|
- Fix Issue #600 (by ycaibb)
|
||||||
* Fix: use-after-free vulnerability on write_to_peerchannel function
|
* Fix: use-after-free vulnerability on write_to_peerchannel function
|
||||||
|
- Fix Issue #601 (by ycaibb)
|
||||||
|
* Fix: use-after-free vulnerability on write_client_connection function
|
||||||
|
|
||||||
24/06/2020 Oleg Moskalenko <mom040267@gmail.com> Mihály Mészáros <misi@majd.eu>
|
24/06/2020 Oleg Moskalenko <mom040267@gmail.com> Mihály Mészáros <misi@majd.eu>
|
||||||
Version 4.5.1.3 'dan Eider':
|
Version 4.5.1.3 'dan Eider':
|
||||||
|
|||||||
@ -4293,7 +4293,7 @@ static int write_client_connection(turn_turnserver *server, ts_ur_super_session*
|
|||||||
int skip = 0;
|
int skip = 0;
|
||||||
int ret = send_data_from_ioa_socket_nbh(ss->client_socket, NULL, nbh, ttl, tos, &skip);
|
int ret = send_data_from_ioa_socket_nbh(ss->client_socket, NULL, nbh, ttl, tos, &skip);
|
||||||
|
|
||||||
if(!skip) {
|
if(!skip && ret>-1) {
|
||||||
++(ss->sent_packets);
|
++(ss->sent_packets);
|
||||||
ss->sent_bytes += (uint32_t)ioa_network_buffer_get_size(nbh);
|
ss->sent_bytes += (uint32_t)ioa_network_buffer_get_size(nbh);
|
||||||
turn_report_session_usage(ss, 0);
|
turn_report_session_usage(ss, 0);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user