diff options
author | Julian Andres Klode <jak@debian.org> | 2016-03-06 14:44:53 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-03-06 14:57:41 +0100 |
commit | 9e7f83533665c03b52dff5809e7ebd93928ea445 (patch) | |
tree | 51263d7a81e53b27b58c026e51b2ac1777a05ad4 /apt-pkg/deb/debindexfile.h | |
parent | dfcf7f356b790338f0a3e9df3c5d6f159814fe53 (diff) |
Prevent double remapping of iterators and string views
If an iterator or a stringview has multiple dynamic objects
registered with it, it may be remapped twice. Prevent that
by noting which iterators/views we have seen and not remapping
one if we have already seen it.
We most likely do not have any instance of multiple dynamics
on a single object, but let's play safe - the overhead is not
high.
Diffstat (limited to 'apt-pkg/deb/debindexfile.h')
0 files changed, 0 insertions, 0 deletions