Commit 4e7ce286 authored by Committed by Tim-Philipp Müller
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.
Showing with 23 additions and 0 deletions