commit | 4e7ce28623042af6a4d7c68393c0602ec8b0c0bc | [log] [tgz] |
---|---|---|
author | Alban Bedel <alban.bedel@avionic-design.de> | Wed Sep 27 16:01:35 2017 +0200 |
committer | Tim-Philipp Müller <tim@centricular.com> | Wed Feb 14 18:04:56 2018 +0000 |
tree | da0e8d8e604ef56586eace6786101009dd654308 | |
parent | 82f2ac783b5c825420abaf30832104aaf7b27a7d [diff] |
rtpvorbisdepay: fix unbounded memory usage All received configurations are parsed and added to a list, this lead to an unbounded memory usage. As the configuration is resent every second this quickly lead to a large memory usage. Add a check to only add the config if it is not already available in the list. This fix only handle the typical case of a well behaved stream, a malicious server could still send many useless configurations to raise the client memory usage.