Skip to content
  • Alban Bedel's avatar
    rtpvorbisdepay: fix unbounded memory usage · 4e7ce286
    Alban Bedel authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
    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.
    4e7ce286