]> git.tuebingen.mpg.de Git - paraslash.git/commit
fecdec: Avoid fecdec output buffer overruns.
authorAndre Noll <maan@systemlinux.org>
Sun, 1 Sep 2013 17:48:46 +0000 (17:48 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 22 Sep 2013 00:10:27 +0000 (02:10 +0200)
commit00e0ee291a22f52d1bbeedfcc7224faf36988031
treec8da7a0b8af5cfcb636cf4013e9f2da485701ce9
parent17a1b40b20ff584a3c4347546e419001f9bd2a63
fecdec: Avoid fecdec output buffer overruns.

The size of the buffer tree pool of the amp filter is 64K, which
is smaller than BTRN_MAX_PENDING of buffer_tree.c (96K). The latter
value is used in btr_node_status() as follows. If input for a buffer
tree node is available and there is less than BTRN_MAX_PENDING bytes
in the output queue of the node, the function returns 1 to indicate
that the node should continue to process its input.

This can result in a fatal error condition when the buffer tree pool
fills up completely. Avoid this by increasing the pool size to 128K.
fecdec_filter.c