summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-07-07 17:19:29 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-07-07 17:19:29 +0200
commit4ea471ecb013d188d03a5c3efb9b21e58ef56065 (patch)
tree1c7ad95f43687e2e79b75ba3861f53ae34e9796b /apt-pkg/tagfile.cc
parent01daf7042c917b9f50918d55b9d0b7806c41b957 (diff)
handle moved mmap after UniqFindTagWrite call
A call to UniqFindTagWrite can trigger the need for a bigger mmap, which is usually done by moving it, but with this move all pointers into it become invalid (and have to be remapped). The compiler calculates the pointer before the execution of the call though, so it tries to store the returned value at the old location, resulting in a segfault. We solve this by use of a temprorary variable as we did in the other instances of this problem before. Closes: #753941
Diffstat (limited to 'apt-pkg/tagfile.cc')
0 files changed, 0 insertions, 0 deletions