Bug#863492: pavuk: segmentation fault when opening graphical "Limitations" window

2017-05-27 Thread Chris Lamb
tags 863492 + pending patch
thanks

I've uploaded pavuk 0.9.35-6.1 to DELAYED/5:
  
  pavuk (0.9.35-6.1) unstable; urgency=medium
  
* Non-maintainer upload.
* Fix segmentation fault when opening graphical "Limitations" window due to
  pointer truncation in src/gtkmulticol.[ch]. (Closes: #863492)

The full debdiff is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diffstat for pavuk-0.9.35 pavuk-0.9.35

 changelog   |8 
 patches/18-fix-pointer-truncation.patch |   25 +
 patches/series  |1 +
 3 files changed, 34 insertions(+)

diff -Nru pavuk-0.9.35/debian/changelog pavuk-0.9.35/debian/changelog
--- pavuk-0.9.35/debian/changelog   2016-12-14 20:03:37.0 +
+++ pavuk-0.9.35/debian/changelog   2017-05-27 20:17:22.0 +0100
@@ -1,3 +1,11 @@
+pavuk (0.9.35-6.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix segmentation fault when opening graphical "Limitations" window due to
+pointer truncation in src/gtkmulticol.[ch]. (Closes: #863492)
+
+ -- Chris Lamb   Sat, 27 May 2017 20:17:22 +0100
+
 pavuk (0.9.35-6) unstable; urgency=low
 
   * debian/watch: update to v4 to make it work
diff -Nru pavuk-0.9.35/debian/patches/18-fix-pointer-truncation.patch 
pavuk-0.9.35/debian/patches/18-fix-pointer-truncation.patch
--- pavuk-0.9.35/debian/patches/18-fix-pointer-truncation.patch 1970-01-01 
01:00:00.0 +0100
+++ pavuk-0.9.35/debian/patches/18-fix-pointer-truncation.patch 2017-05-27 
20:17:22.0 +0100
@@ -0,0 +1,25 @@
+--- pavuk-0.9.35.orig/src/gtkmulticol.c
 pavuk-0.9.35/src/gtkmulticol.c
+@@ -48,9 +48,9 @@ static void gtk_multicol_size_request(Gt
+ static void gtk_multicol_size_allocate(GtkWidget * widget,
+   GtkAllocation * allocation);
+ 
+-guint gtk_multicol_get_type()
++GtkType gtk_multicol_get_type()
+ {
+-  static guint multicol_type = 0;
++  static GtkType multicol_type = 0;
+ 
+   if(!multicol_type)
+   {
+--- pavuk-0.9.35.orig/src/gtkmulticol.h
 pavuk-0.9.35/src/gtkmulticol.h
+@@ -41,7 +41,7 @@ extern "C"
+ GtkBoxClass parent_class;
+   };
+ 
+-  guint gtk_multicol_get_type(void);
++  GtkType gtk_multicol_get_type(void);
+   GtkWidget *gtk_multicol_new(gint nrows);
+   void gtk_multicol_set_number_of_rows(GtkMultiCol * multicol, gint nrows);
+   void gtk_multicol_set_spacing(GtkMultiCol * multicol,
diff -Nru pavuk-0.9.35/debian/patches/series pavuk-0.9.35/debian/patches/series
--- pavuk-0.9.35/debian/patches/series  2016-12-14 20:03:37.0 +
+++ pavuk-0.9.35/debian/patches/series  2017-05-27 20:17:22.0 +0100
@@ -6,3 +6,4 @@
 15-pavuk-nossl3.patch
 16-reproducible-build.patch
 #17-mozjs185.patch
+18-fix-pointer-truncation.patch


Bug#863492: pavuk: segmentation fault when opening graphical "Limitations" window

2017-05-27 Thread Chris Lamb
Package: pavuk
Version: 0.9.35-6
Severity: serious

Hi,

Pavuk segmentation faults when opening the "Limitations" config window:

 $ pavuk -x https://debian.org/

 Select "Config" → "Limitations"


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-