]> git.saurik.com Git - apt.git/commit
apt-pkg/algorithms.cc: Avoid stack buffer overflow in KillList
authorJulian Andres Klode <jak@debian.org>
Mon, 7 Mar 2016 00:32:08 +0000 (01:32 +0100)
committerJulian Andres Klode <jak@debian.org>
Mon, 7 Mar 2016 00:41:39 +0000 (01:41 +0100)
commitf99b06213e39c3e2d46db243d2509c42cc63c752
tree5cbd37e26cb3bdd192b7c61162522f0a7070d1f9
parent8d89cda7d66b6f125c457f36beeb84abb0df07f1
apt-pkg/algorithms.cc: Avoid stack buffer overflow in KillList

Dynamically allocate KillList in order to avoid an overflow when
more than 100 elements would be written to it.

This happened while playing around with the status file from
Bug#701069 on a modern system.
apt-pkg/algorithms.cc