]> git.saurik.com Git - apt.git/commit
do not dereference the storage for the unique strings as the pointer can
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 16 Jun 2012 17:55:43 +0000 (19:55 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 16 Jun 2012 17:55:43 +0000 (19:55 +0200)
commit2b803d4069e1f05d0461fbad004482ff02100812
treeb30b90c27dd363de7e8fd83432ed7a54eefada0f
parentef5dc12ccb6964a52c7c7674d2eff98435089d92
do not dereference the storage for the unique strings as the pointer can
change at the time of writing the strings, so first store it temporary
and then save the index in the (possibily new) pointer location
apt-pkg/deb/debindexfile.cc
apt-pkg/deb/deblistparser.cc
apt-pkg/edsp/edspindexfile.cc