diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-05-08 21:51:26 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-02-21 16:47:25 +0100 |
commit | dd05bdac89acbe96103b0f0ca488c9aba106d1ee (patch) | |
tree | 5863715433c24fb90e9a371067e97210f2790151 /apt-pkg/pkgcachegen.h | |
parent | 04a03c849460ca081fa2570f2eeb73c1b46c463c (diff) |
ftparchive/writer.cc: use a std::vector instead of hardcoded array
Arrays with predefined lengths are very fragile as they are
likely forgotten in future changes and the size in this case
is dynamic making it even more dangerous.
(cherry-picked from commit eb0d90f08d6a6f2ee334a94f8fb45c776f5bcd6e)
LP: #1817048
Diffstat (limited to 'apt-pkg/pkgcachegen.h')
0 files changed, 0 insertions, 0 deletions