]> git.ipfire.org Git - thirdparty/libarchive.git/commit
uu: Stop processing if lines are too long (#2168)
authorTobias Stoeckmann <stoeckmann@users.noreply.github.com>
Sun, 5 May 2024 22:40:57 +0000 (00:40 +0200)
committerGitHub <noreply@github.com>
Sun, 5 May 2024 22:40:57 +0000 (15:40 -0700)
commit1e406c9ea204a8bca9067c40edb60e6c8ae168e6
treeb962b6d2e9e17a68b930e72a1ff0e3041f2a3c90
parent6818dd167cb190c76e0cfdeb40cd73aa22b96bd8
uu: Stop processing if lines are too long (#2168)

Processing excessively long lines could lead to out of boundary writes
or denial of service due to O(n^2) runtime complexity.

The OOB is properly fixed with first commit. The second commit stops
processing of lines which are longer than uu allows due to its
specification.
libarchive/archive_read_support_filter_uu.c