Your message dated Thu, 19 Sep 2013 15:08:24 +0000
with message-id <[email protected]>
and subject line Bug#706636: fixed in xgraph 12.1-17
has caused the Debian Bug report #706636,
regarding xgraph segfaults when pressing the Hdcpy button on 64 bit systems
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.)


-- 
706636: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706636
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xgraph
Version: 12.1-12
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu maverick ubuntu-patch

The segfault occurs on 64 bit systems; it does not occur on 32 bit systems.
The reason for the segfault is that with the old definition of NE an unadorned 
0 is passed as a variadic parameter to variadic functions expecting pointers
(xtb_hort() and xtb_vert() declared in xtb.h)
 
The compiler has no way to know that is has to convert the 0 constant
to a NULL pointer (and cannot warn as the function is not printf() like).

*** /tmp/tmp_OaVWf
In Ubuntu, we've applied the attached patch to achieve the following:

  * change the #define of NE (xtb.h) from 0 to ((xtb_fmt*)0) (LP: #1175701) 

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-46-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
=== modified file 'debian/changelog'

=== modified file 'xtb.h'
--- xtb.h	2009-03-08 21:00:13 +0000
+++ xtb.h	2013-05-02 17:35:10 +0000
@@ -164,7 +164,7 @@
     xtb_fmt_align align;
 } xtb_fmt;
 
-#define NE	0
+#define NE	((xtb_fmt*)0)
 
 DECLARE(xtb_w, xtb_fmt *, (xtb_frame *w));
    /* Returns formatting structure for frame */


--- End Message ---
--- Begin Message ---
Source: xgraph
Source-Version: 12.1-17

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

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.
Barak A. Pearlmutter <[email protected]> (supplier of updated xgraph 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: Thu, 19 Sep 2013 15:02:12 +0100
Source: xgraph
Binary: xgraph
Architecture: source amd64
Version: 12.1-17
Distribution: unstable
Urgency: low
Maintainer: Barak A. Pearlmutter <[email protected]>
Changed-By: Barak A. Pearlmutter <[email protected]>
Description: 
 xgraph     - Plotting program, reads stdin, allows interactive zooming
Closes: 706636
Changes: 
 xgraph (12.1-17) unstable; urgency=low
 .
   * prevent use of the Hdcpy button from segfaulting by defining NE as the
     right kind of null pointer (closes: #706636)
   * bump policy version
   * tweak debian git repo urls to current debian repo url naming scheme
Checksums-Sha1: 
 87b2a4023d4632f901bdd741708f614787e5c00d 1182 xgraph_12.1-17.dsc
 6323263bd32e51795a10074fab33f96c1badb7c8 23701 xgraph_12.1-17.debian.tar.gz
 27607fe22fda5c5b9c71a802523ac2302ea28683 98676 xgraph_12.1-17_amd64.deb
Checksums-Sha256: 
 cf1d84709680bbd5826591f8f0af326f20d3b2ff9be6142e999d29e8f6dedeb5 1182 
xgraph_12.1-17.dsc
 51acc65523abb23824a61b873493a4b8efc1953a6ee0945e7c55de46529e995b 23701 
xgraph_12.1-17.debian.tar.gz
 4a9a3e75c692be75a7c6aa8d36842159a190395d37a6adf468284d9dfe11ce01 98676 
xgraph_12.1-17_amd64.deb
Files: 
 9c4f9e80a57f51e1e2d5d6b5ba12e439 1182 math optional xgraph_12.1-17.dsc
 02ddb53c934007704af5b2810cde45b3 23701 math optional 
xgraph_12.1-17.debian.tar.gz
 90fbd4653941ac6f429149f4be54b9d3 98676 math optional xgraph_12.1-17_amd64.deb

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

iEYEARECAAYFAlI7Dv8ACgkQLz4Gnv7CP7LF6ACgqkE+UbJNGXesh/azIsqmqMQv
t9MAoMzJwC2Y04ROpd/X8CnrIbm1D2ID
=O0dL
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to