Bug#863420: timemachine: segfaults on startup

Chris Lamb lamby at debian.org
Sat May 27 09:02:11 UTC 2017


tags 863420 + pending patch
thanks

I've uploaded timemachine 0.3.3-2.1 to DELAYED/5:
  
  timemachine (0.3.3-2.1) unstable; urgency=medium
  
    * Non-maintainer upload.
    * Fix segmentation fault caused by passing a truncated pointer instead of a
      GtkType. (Closes: #863420)

The full debdiff is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
diffstat for timemachine-0.3.3 timemachine-0.3.3

 changelog                                     |    8 ++++++++
 patches/0002-gtkmeter-truncated-pointer.patch |   26 ++++++++++++++++++++++++++
 patches/series                                |    1 +
 3 files changed, 35 insertions(+)

diff -Nru timemachine-0.3.3/debian/changelog timemachine-0.3.3/debian/changelog
--- timemachine-0.3.3/debian/changelog	2013-10-06 14:13:24.000000000 +0100
+++ timemachine-0.3.3/debian/changelog	2017-05-27 09:41:19.000000000 +0100
@@ -1,3 +1,11 @@
+timemachine (0.3.3-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix segmentation fault caused by passing a truncated pointer instead of a
+    GtkType. (Closes: #863420)
+
+ -- Chris Lamb <lamby at debian.org>  Sat, 27 May 2017 09:41:19 +0100
+
 timemachine (0.3.3-2) unstable; urgency=low
 
   * Team upload.
diff -Nru timemachine-0.3.3/debian/patches/0002-gtkmeter-truncated-pointer.patch timemachine-0.3.3/debian/patches/0002-gtkmeter-truncated-pointer.patch
--- timemachine-0.3.3/debian/patches/0002-gtkmeter-truncated-pointer.patch	1970-01-01 01:00:00.000000000 +0100
+++ timemachine-0.3.3/debian/patches/0002-gtkmeter-truncated-pointer.patch	2017-05-27 09:41:19.000000000 +0100
@@ -0,0 +1,26 @@
+--- timemachine-0.3.3.orig/src/gtkmeter.c
++++ timemachine-0.3.3/src/gtkmeter.c
+@@ -48,10 +48,10 @@ static float iec_scale(float db);
+ 
+ static GtkWidgetClass *parent_class = NULL;
+ 
+-guint
++GtkType
+ gtk_meter_get_type ()
+ {
+-  static guint meter_type = 0;
++  static GtkType meter_type = 0;
+ 
+   if (!meter_type)
+     {
+--- timemachine-0.3.3.orig/src/gtkmeter.h
++++ timemachine-0.3.3/src/gtkmeter.h
+@@ -87,7 +87,7 @@ struct _GtkMeterClass
+ GtkWidget*     gtk_meter_new                    (GtkAdjustment *adjustment,
+ 						 gint direction);
+ 
+-guint          gtk_meter_get_type               (void);
++GtkType        gtk_meter_get_type               (void);
+ GtkAdjustment* gtk_meter_get_adjustment         (GtkMeter     *meter);
+ 
+ void           gtk_meter_set_adjustment         (GtkMeter     *meter,
diff -Nru timemachine-0.3.3/debian/patches/series timemachine-0.3.3/debian/patches/series
--- timemachine-0.3.3/debian/patches/series	2013-10-06 14:09:12.000000000 +0100
+++ timemachine-0.3.3/debian/patches/series	2017-05-27 09:41:19.000000000 +0100
@@ -1 +1,2 @@
 0001-ldflags.patch
+0002-gtkmeter-truncated-pointer.patch


More information about the pkg-multimedia-maintainers mailing list