Bug#769558: unblock: imposm-parser/1.0.6-0.1
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Hi!
I have uploaded a NMU fixing #766770 (upstream bug is
https://github.com/omniscale/imposm-parser/issues/9)
Since the new upstream version only fixes this bug, I have used it
(instead patching the old package; the result would be exactly the same)
The affected code, applied upstream, is
https://github.com/jocelynj/imposm-parser/commit/a73bd55208a88e031d2e422a5612820afd6efc77
debdiff from testing version to the current unstable NMU is:
=====
diff -Nru imposm-parser-1.0.5/CHANGES imposm-parser-1.0.6/CHANGES
--- imposm-parser-1.0.5/CHANGES 2013-09-13 10:22:37.000000000 -0300
+++ imposm-parser-1.0.6/CHANGES 2014-10-31 10:55:34.000000000 -0200
@@ -1,6 +1,11 @@
Changelog
---------
+1.0.6 2014-10-31
+~~~~~~~~~~~~~~~~
+
+- fixed bug in protobug parser that could cause segfaults
+
1.0.5 2013-09-13
~~~~~~~~~~~~~~~~
diff -Nru imposm-parser-1.0.5/debian/changelog imposm-parser-1.0.6/debian/changelog
--- imposm-parser-1.0.5/debian/changelog 2013-11-04 14:30:03.000000000 -0200
+++ imposm-parser-1.0.6/debian/changelog 2014-11-08 21:51:35.000000000 -0200
@@ -1,3 +1,11 @@
+imposm-parser (1.0.6-0.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * New upstream release:
+ - Fix segmentation fault in OSMPBF.so (Closes: #766770)
+
+ -- Nelson A. de Oliveira <naoliv@debian.org> Sat, 08 Nov 2014 21:50:07 -0200
+
imposm-parser (1.0.5-1) unstable; urgency=low
* New upstream version.
diff -Nru imposm-parser-1.0.5/imposm/parser/pbf/osm.cc imposm-parser-1.0.6/imposm/parser/pbf/osm.cc
--- imposm-parser-1.0.5/imposm/parser/pbf/osm.cc 2012-06-13 11:09:43.000000000 -0300
+++ imposm-parser-1.0.6/imposm/parser/pbf/osm.cc 2014-10-31 10:53:14.000000000 -0200
@@ -89,9 +89,8 @@
static void
Blob_dealloc(Blob* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -545,9 +544,8 @@
static void
BlobHeader_dealloc(BlobHeader* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -877,9 +875,8 @@
static void
HeaderBBox_dealloc(HeaderBBox* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -1286,9 +1283,8 @@
static void
HeaderBlock_dealloc(HeaderBlock* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -1787,9 +1783,8 @@
static void
StringTable_dealloc(StringTable* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -1997,9 +1992,8 @@
static void
Info_dealloc(Info* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -2471,9 +2465,8 @@
static void
DenseInfo_dealloc(DenseInfo* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -3008,9 +3001,8 @@
static void
ChangeSet_dealloc(ChangeSet* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -3210,9 +3202,8 @@
static void
Node_dealloc(Node* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -3784,9 +3775,8 @@
static void
DenseNodes_dealloc(DenseNodes* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -4313,9 +4303,8 @@
static void
Way_dealloc(Way* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -4831,9 +4820,8 @@
static void
Relation_dealloc(Relation* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -5510,9 +5498,8 @@
static void
PrimitiveGroup_dealloc(PrimitiveGroup* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
@@ -6045,9 +6032,8 @@
static void
PrimitiveBlock_dealloc(PrimitiveBlock* self)
{
- self->ob_type->tp_free((PyObject*)self);
-
delete self->protobuf;
+ self->ob_type->tp_free((PyObject*)self);
}
static PyObject *
diff -Nru imposm-parser-1.0.5/imposm.parser.egg-info/PKG-INFO imposm-parser-1.0.6/imposm.parser.egg-info/PKG-INFO
--- imposm-parser-1.0.5/imposm.parser.egg-info/PKG-INFO 2013-09-13 10:24:31.000000000 -0300
+++ imposm-parser-1.0.6/imposm.parser.egg-info/PKG-INFO 2014-10-31 11:06:59.000000000 -0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: imposm.parser
-Version: 1.0.5
+Version: 1.0.6
Summary: Fast and easy OpenStreetMap XML/PBF parser.
Home-page: http://imposm.org/docs/imposm.parser/latest/
Author: Oliver Tonnhofer
@@ -50,6 +50,11 @@
Changelog
---------
+ 1.0.6 2014-10-31
+ ~~~~~~~~~~~~~~~~
+
+ - fixed bug in protobug parser that could cause segfaults
+
1.0.5 2013-09-13
~~~~~~~~~~~~~~~~
diff -Nru imposm-parser-1.0.5/PKG-INFO imposm-parser-1.0.6/PKG-INFO
--- imposm-parser-1.0.5/PKG-INFO 2013-09-13 10:24:31.000000000 -0300
+++ imposm-parser-1.0.6/PKG-INFO 2014-10-31 11:06:59.000000000 -0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: imposm.parser
-Version: 1.0.5
+Version: 1.0.6
Summary: Fast and easy OpenStreetMap XML/PBF parser.
Home-page: http://imposm.org/docs/imposm.parser/latest/
Author: Oliver Tonnhofer
@@ -50,6 +50,11 @@
Changelog
---------
+ 1.0.6 2014-10-31
+ ~~~~~~~~~~~~~~~~
+
+ - fixed bug in protobug parser that could cause segfaults
+
1.0.5 2013-09-13
~~~~~~~~~~~~~~~~
diff -Nru imposm-parser-1.0.5/setup.py imposm-parser-1.0.6/setup.py
--- imposm-parser-1.0.5/setup.py 2013-09-13 10:21:50.000000000 -0300
+++ imposm-parser-1.0.6/setup.py 2014-10-31 10:53:50.000000000 -0200
@@ -36,7 +36,7 @@
setup(
name='imposm.parser',
- version="1.0.5",
+ version="1.0.6",
description='Fast and easy OpenStreetMap XML/PBF parser.',
long_description=open('README.rst').read() + open('CHANGES').read(),
author='Oliver Tonnhofer',
=====
As you can see, the change is only related with the segmentation fault
fix.
Can the package be unblocked after the 5 days on unstable, please?
unblock imposm-parser/1.0.6-0.1
Thank you!
Best regards,
Nelson
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (200, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: