annotate distinfo @ 13:c7cf16351c81

Apply patches for proper STUN message validation: 1. Validate the size of an attribute before returning it to the caller. Previously this was being done in stun_attr_get_next_str() to check that the previous attribute didn't exceed the size of the underlying buffer, however by that point any maliciously crafted attributes would have already had their chance to attack the caller. commit 9b8baa805582ae66d2a1ed68483609f90fcfb4d0 2. Validate the size of the buffer in stun_get_command_message_len_str(). Without this the caller could read off the end of the underlying buffer if it receives a maliciously crafted packet with an invalid header size. commit 14cb1c94e7be98869f45678ba195a26796a797c4 3. Changed type from int to size_t to avoid warning. warning: comparison between signed and unsigned integer expressions commit 4722697645cf033de8cf4f34e4214af750746365 See also: https://github.com/coturn/coturn/pull/472
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 28 Mar 2020 15:44:52 +0100
parents 1a06bf451a04
children 4a6383e57d12 f271ad092ec7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
1a06bf451a04 ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 TIMESTAMP = 1551644566
1a06bf451a04 ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2 SHA256 (turn.extra.docs-2.0.0.1.tar.gz) = 3a86600fd0a30ce7aeb547e80402ce68ea9959f7dd58697e5b47fda6e33ab9ce
1a06bf451a04 ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
3 SIZE (turn.extra.docs-2.0.0.1.tar.gz) = 485379
1a06bf451a04 ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
4 SHA256 (coturn-coturn-4.5.1.1_GH0.tar.gz) = 8eabe4c241ad9a74655d8516c69b1fa3275e020e7f7fca50a6cb822809e7c220
1a06bf451a04 ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
5 SIZE (coturn-coturn-4.5.1.1_GH0.tar.gz) = 420069