[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#511556: marked as done (small memleak in indexcopy)



Your message dated Thu, 27 Aug 2009 16:32:48 +0000
with message-id <E1Mghu4-0007k6-UQ@ries.debian.org>
and subject line Bug#511556: fixed in apt 0.7.23
has caused the Debian Bug report #511556,
regarding small memleak in indexcopy
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
511556: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511556
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.7.20
Tags: patch

This should never happen because Release is always there, but anyway just in 
case it is not.

diff -Naur apt-0.7.20.orig/apt-pkg/indexcopy.cc 
apt-0.7.20/apt-pkg/indexcopy.cc
--- apt-0.7.20.orig/apt-pkg/indexcopy.cc        2009-01-12 09:30:45.000000000 
+0200
+++ apt-0.7.20/apt-pkg/indexcopy.cc     2009-01-12 09:31:15.000000000 +0200
@@ -582,9 +582,10 @@
       string prefix = *I;

       // a Release.gpg without a Release should never happen
-      if(!FileExists(*I+"Release"))
+      if(!FileExists(*I+"Release")) {
+         delete MetaIndex;
         continue;
-
+      }

       // verify the gpg signature of "Release"
       // gpg --verify "*I+Release.gpg", "*I+Release"



-- 
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>
diff -Naur apt-0.7.20.orig/apt-pkg/indexcopy.cc apt-0.7.20/apt-pkg/indexcopy.cc
--- apt-0.7.20.orig/apt-pkg/indexcopy.cc	2009-01-12 09:30:45.000000000 +0200
+++ apt-0.7.20/apt-pkg/indexcopy.cc	2009-01-12 09:31:15.000000000 +0200
@@ -582,9 +582,10 @@
       string prefix = *I; 
 
       // a Release.gpg without a Release should never happen
-      if(!FileExists(*I+"Release"))
+      if(!FileExists(*I+"Release")) {
+         delete MetaIndex;
 	 continue;
-
+      }
 
       // verify the gpg signature of "Release"
       // gpg --verify "*I+Release.gpg", "*I+Release"

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.23

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:

apt-doc_0.7.23_all.deb
  to pool/main/a/apt/apt-doc_0.7.23_all.deb
apt-transport-https_0.7.23_i386.deb
  to pool/main/a/apt/apt-transport-https_0.7.23_i386.deb
apt-utils_0.7.23_i386.deb
  to pool/main/a/apt/apt-utils_0.7.23_i386.deb
apt_0.7.23.dsc
  to pool/main/a/apt/apt_0.7.23.dsc
apt_0.7.23.tar.gz
  to pool/main/a/apt/apt_0.7.23.tar.gz
apt_0.7.23_i386.deb
  to pool/main/a/apt/apt_0.7.23_i386.deb
libapt-pkg-dev_0.7.23_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.7.23_i386.deb
libapt-pkg-doc_0.7.23_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.7.23_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 511556@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 27 Aug 2009 14:44:39 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.7.23
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 145916 157759 223712 320184 365880 382826 413021 414105 441178 445985 479617 504325 509313 510286 510526 511556 511557 520831 531157 537450
Changes: 
 apt (0.7.23) unstable; urgency=low
 .
   [ Eugene V. Lyubimkin ]
   * methods/{http,https,ftp}, doc/apt.conf.5.xml:
     - Changed and unified the code that determines which proxy to use. Now
       'Acquire::{http,ftp}::Proxy[::<host>]' options have the highest priority,
       and '{http,ftp}_proxy' environment variables are used only if options
       mentioned above are not specified.
       (Closes: #445985, #157759, #320184, #365880, #479617)
 .
   [ David Kalnischkies ]
   * cmdline/apt-get.cc:
     - add APT::Get::HideAutoRemove=small to display only a short line
       instead of the full package list. (Closes: #537450)
     - ShowBroken() in build-dep (by Mike O'Connor, Closes: #145916)
     - check for statfs.f_type (by Robert Millan, Closes: #509313)
     - correct the order of picked package binary vs source in source
     - use SourceVersion instead of the BinaryVersion to get the source
       Patch by Matt Kraai, thanks! (Closes: #382826)
     - add pkg/archive and codename in source (Closes: #414105, #441178)
   * apt-pkg/contrib/strutl.cc:
     - enable thousand separator according to the current locale
       (by Luca Bruno, Closes: #223712)
   * doc/apt.conf.5.xml:
     - mention the apt.conf.d dir (by Vincent McIntyre, Closes: #520831)
   * apt-inst/contrib/arfile.cc:
     - use sizeof instead strlen (by Marius Vollmer, Closes: #504325)
   * doc/apt-mark.8.xml:
     - improve manpage based on patch by Carl Chenet (Closes: #510286)
   * apt-pkg/acquire-item.cc:
     - use configsettings for dynamic compression type use and order.
       Based on a patch by Jyrki Muukkonen, thanks! (LP: #71746)
   * apt-pkg/aptconfiguration.cc:
     - add default configuration for compression types and add lzma
       support. Order is now bzip2, lzma, gzip, none (Closes: #510526)
   * ftparchive/writer.cc:
     - add lzma support also here, patch for this (and inspiration for
       the one above) by Robert Millan, thanks!
   * apt-pkg/depcache.cc:
     - restore the --ignore-hold effect in the Is{Delete,Install}Ok hooks
   * doc/apt-get.8.xml:
     - update the source description to reflect what it actually does
       and how it can be used. (Closes: #413021)
   * methods/http.cc:
     - allow empty Reason-Phase in Status-Line to please squid,
       thanks Modestas Vainius for noticing! (Closes: #531157, LP: #411435)
 .
   [ George Danchev ]
   * cmdline/apt-cache.cc:
     - fix a memory leak in the xvcg method (Closes: #511557)
   * apt-pkg/indexcopy.cc:
     - fix a memory leak then the Release file not exists (Closes: #511556)
Checksums-Sha1: 
 fda6b78573186409db18b5da2574f8c8f23f6b73 1206 apt_0.7.23.dsc
 35ad095e5cfb1e834c4458201faf773df2bed9c1 2131915 apt_0.7.23.tar.gz
 81875b742d7dea81089d10d920155612fb9dc97a 103812 apt-doc_0.7.23_all.deb
 2038d929dac33dbe5e3b6cbbc03b85974d16ced3 128188 libapt-pkg-doc_0.7.23_all.deb
 e165ea5e91a45a88275f01f377242c898317f52b 1641344 apt_0.7.23_i386.deb
 a99433f1a1a345be92ef0d6436d1e19ea4b976fc 115124 libapt-pkg-dev_0.7.23_i386.deb
 fe669ea73ab75de19180bd784479ab8985b81227 192920 apt-utils_0.7.23_i386.deb
 5e2ab26058030ac13640e82593ceeb2df92d22c5 62716 apt-transport-https_0.7.23_i386.deb
Checksums-Sha256: 
 dae19946e78e64c50808948869f0bcdf55c3cf21ac0d3ab58fa546e9a598f37b 1206 apt_0.7.23.dsc
 3b2075fb701663b7cc130878826412a073fae3bb231d67cda8d099ebe2cb2e11 2131915 apt_0.7.23.tar.gz
 57806188528055f92a1440404693517e0bcf96007c7244d62d87573554fe7040 103812 apt-doc_0.7.23_all.deb
 6929dae3f42638faf4b9ef8793f8e3118417260e1ec5286cd78dc73b67e3369e 128188 libapt-pkg-doc_0.7.23_all.deb
 0cff5082ad033563c6b0799b7ae3e90eeecaaaf89740f8c9ba7f6ee9c5419a32 1641344 apt_0.7.23_i386.deb
 77d5b5e2c1069429c293a77d383e181c50ace7159d4000e3a368f188dc388317 115124 libapt-pkg-dev_0.7.23_i386.deb
 6034e5e4048eccadc162fe39e964ab5f3eaa99d8c806253a7b7f06e51f42af3f 192920 apt-utils_0.7.23_i386.deb
 869e2aaa3fa50431ab66506cc9a6a72ad7d6c5205c822199af08a4dd4556d83c 62716 apt-transport-https_0.7.23_i386.deb
Files: 
 54b3760eda4d198f41667654efad06e8 1206 admin important apt_0.7.23.dsc
 0de5a8843b81051eda04183a23002f6f 2131915 admin important apt_0.7.23.tar.gz
 25a911cd6d245a7cf894e6a069c10085 103812 doc optional apt-doc_0.7.23_all.deb
 442c59d3e1e82725e51c1d9716658690 128188 doc optional libapt-pkg-doc_0.7.23_all.deb
 70440ebeebe01ad39b8d5d10052cfc6a 1641344 admin important apt_0.7.23_i386.deb
 36b2a10755e1378fb40a02555d97ae37 115124 libdevel optional libapt-pkg-dev_0.7.23_i386.deb
 18dd33719c3c078827858d333af14de7 192920 admin important apt-utils_0.7.23_i386.deb
 cf0830a79694e3fde590e5a0059d5172 62716 admin optional apt-transport-https_0.7.23_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqWrQMACgkQliSD4VZixzQXdACfX5MPFfwNhplQUwWRlnwIInEE
bDIAoKKLGmnogY6kfGhzeLunvx3G6aOD
=Raty
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: