Your message dated Wed, 03 Feb 2010 18:17:55 +0000
with message-id <[email protected]>
and subject line Bug#567828: fixed in geoip 1.4.6.dfsg-18
has caused the Debian Bug report #567828,
regarding geoip: free GeoIPRecord after use
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 [email protected]
immediately.)


-- 
567828: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567828
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: geoip
Severity: minor
Tags: patch

Free GeoIPRecord after use in geoiplookup.c, similar to GeoIPRegion a
few lines above. This doesn't actually matter much as the program
terminates right after that, but it's good behaviour to clean up
after oneself. :-)


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32.7-orbiter.x86-64.1 (PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -ru old/geoip-1.4.6.dfsg/apps/geoiplookup.c geoip-1.4.6.dfsg/apps/geoiplookup.c
--- old/geoip-1.4.6.dfsg/apps/geoiplookup.c	2009-12-15 13:21:28.000000000 +0100
+++ geoip-1.4.6.dfsg/apps/geoiplookup.c	2009-12-15 13:16:42.974026407 +0100
@@ -177,6 +177,7 @@
 			else {
 				printf("%s: %s, %s, %s, %s, %f, %f\n", GeoIPDBDescription[i], gir->country_code, _mk_NA(gir->region),
 				       _mk_NA(gir->city), _mk_NA(gir->postal_code), gir->latitude, gir->longitude);
+				GeoIPRecord_delete(gir);
 			}
 		}
 		else if (GEOIP_CITY_EDITION_REV1 == i) {
@@ -187,6 +188,7 @@
 			else {
 				printf("%s: %s, %s, %s, %s, %f, %f, %d, %d\n", GeoIPDBDescription[i], gir->country_code, _mk_NA(gir->region), _mk_NA(gir->city), _mk_NA(gir->postal_code),
 				       gir->latitude, gir->longitude, gir->metro_code, gir->area_code);
+				GeoIPRecord_delete(gir);
 			}
 		}
 		else if (GEOIP_ORG_EDITION == i || GEOIP_ISP_EDITION == i || GEOIP_ASNUM_EDITION == i) {

--- End Message ---
--- Begin Message ---
Source: geoip
Source-Version: 1.4.6.dfsg-18

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

geoip-bin_1.4.6.dfsg-18_amd64.deb
  to main/g/geoip/geoip-bin_1.4.6.dfsg-18_amd64.deb
geoip-database_1.4.6.dfsg-18_all.deb
  to main/g/geoip/geoip-database_1.4.6.dfsg-18_all.deb
geoip_1.4.6.dfsg-18.debian.tar.gz
  to main/g/geoip/geoip_1.4.6.dfsg-18.debian.tar.gz
geoip_1.4.6.dfsg-18.dsc
  to main/g/geoip/geoip_1.4.6.dfsg-18.dsc
libgeoip-dev_1.4.6.dfsg-18_amd64.deb
  to main/g/geoip/libgeoip-dev_1.4.6.dfsg-18_amd64.deb
libgeoip1_1.4.6.dfsg-18_amd64.deb
  to main/g/geoip/libgeoip1_1.4.6.dfsg-18_amd64.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Matthäi <[email protected]> (supplier of updated geoip 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 [email protected])


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

Format: 1.8
Date: Wed, 03 Feb 2010 19:00:54 +0100
Source: geoip
Binary: libgeoip1 libgeoip-dev geoip-bin geoip-database
Architecture: source all amd64
Version: 1.4.6.dfsg-18
Distribution: unstable
Urgency: low
Maintainer: Patrick Matthäi <[email protected]>
Changed-By: Patrick Matthäi <[email protected]>
Description: 
 geoip-bin  - IP lookup command line tools that use the GeoIP library
 geoip-database - IP lookup command line tools that use the GeoIP library 
(country
 libgeoip-dev - Development files for the GeoIP library
 libgeoip1  - A non-DNS IP-to-country resolver library
Closes: 567825 567828
Changes: 
 geoip (1.4.6.dfsg-18) unstable; urgency=low
 .
   * Fix little spelling error in README.Debian. Thanks lintian.
   * Bump Standards-Version to 3.8.4 (no changes needed).
   * Add patch 04-asnum_to_utf8.diff, which converts ASNum records from latin-1
     to UTF-8. Much thanks for this patch to Piotr Kaczuba.
     Closes: #567825
   * Add patch 05-free_record_after_use.diff, which frees the GeoIP record,
     after it has been used. Thanks again for this patch to Piotr Kaczuba.
     Closes: #567828
   * Update IPv4 database to the 2.2.2010 version.
Checksums-Sha1: 
 2e1fe35e6493803ccd70a6df1f0ece2bd527f97c 1122 geoip_1.4.6.dfsg-18.dsc
 008b11052f1ee6c0f859768e0952200b3b75e063 1895477 
geoip_1.4.6.dfsg-18.debian.tar.gz
 c871c0d0a8c32cfc4742fd724f506f988574e4c4 688332 
geoip-database_1.4.6.dfsg-18_all.deb
 d2a3185053495157c3bcdd77cf82def2c11264fc 117174 
libgeoip1_1.4.6.dfsg-18_amd64.deb
 3d699e3eb9815b3a2f6629526e4c2e66af68e6c6 170548 
libgeoip-dev_1.4.6.dfsg-18_amd64.deb
 7e31ae1c738a1cc2563561e91e0c24ee8cab9382 34756 
geoip-bin_1.4.6.dfsg-18_amd64.deb
Checksums-Sha256: 
 45c4b93c8900004f538e8260951e5a134fbf17cd4eadf1760754357252fbefc4 1122 
geoip_1.4.6.dfsg-18.dsc
 3cd7a121af97e34f02b7ddbcbf7c0941bba37ad8553531e16271a225cede173a 1895477 
geoip_1.4.6.dfsg-18.debian.tar.gz
 4c52be554a36ffde3f452e6832ca45111a70479ccd0051fc3a7c17f4adc82b20 688332 
geoip-database_1.4.6.dfsg-18_all.deb
 db87e35b64aebd166a1d241130647bc7aab202bdfbf4559b9411c77e777e72f3 117174 
libgeoip1_1.4.6.dfsg-18_amd64.deb
 9932535a456c4856d04607388be8fbfff0aa2205f4a5801ee578640945aab654 170548 
libgeoip-dev_1.4.6.dfsg-18_amd64.deb
 d36d7faee6fa627c8b45df8599eb521d17b82aaa10bf8f744db4a0db632d2fcf 34756 
geoip-bin_1.4.6.dfsg-18_amd64.deb
Files: 
 df3dfcf10d04754234de8e17a6b81f91 1122 net optional geoip_1.4.6.dfsg-18.dsc
 e089e47a9796e70e0d086b7a66246d09 1895477 net optional 
geoip_1.4.6.dfsg-18.debian.tar.gz
 64e05b811f66376fe5b46212ad223222 688332 net optional 
geoip-database_1.4.6.dfsg-18_all.deb
 8041b8c6c783b63c5252cf18e4525661 117174 libs optional 
libgeoip1_1.4.6.dfsg-18_amd64.deb
 9008dbc1d7c3117ee2b7b393413f52c8 170548 libdevel optional 
libgeoip-dev_1.4.6.dfsg-18_amd64.deb
 671415099cb9978296bbbe92a1568b83 34756 net optional 
geoip-bin_1.4.6.dfsg-18_amd64.deb

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

iEYEARECAAYFAktpu7oACgkQ2XA5inpabMdLdgCfY4m5uJmGHUIoOcAymf0+UuLW
nskAoJ15gfXIhlrwDFAX602Xj+lOpjrr
=fGp3
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to