Your message dated Sat, 04 Apr 2009 21:47:06 +0000
with message-id <[email protected]>
and subject line Bug#522461: fixed in siggen 2.3.10-2
has caused the Debian Bug report #522461,
regarding segfault on amd64
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.)


-- 
522461: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522461
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: siggen
Version: 2.3.10-1
Severity: normal
Tags: patch

Whenever any of the siggen programs try to print an error message on
amd64, they crash with a segmentation fault, e.g.:

$ signalgen 
Segmentation fault
$ signalgen --help
Segmentation fault
$ signalgen -v test
signalgen  Ver. 2.3.10 (May 2008)   Digital Signal Generator
Segmentation fault

This happens because misc.c is missing <string.h>, and so the return
type of strerror() is incorrectly assumed to be "int" instead of a
pointer.  The attached patch fixes the problem.  It also adds another
prototype to avoid a compiler warning and potentially fix another bug.

-jim

-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27.3 (SMP w/4 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages siggen depends on:
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libncurses5               5.6+20080830-1 shared libraries for terminal hand

siggen recommends no packages.

siggen suggests no packages.

-- no debconf information
diff -urN siggen-2.3.10-orig/config.h siggen-2.3.10/config.h
--- siggen-2.3.10-orig/config.h	2009-04-03 16:07:03.000000000 -0400
+++ siggen-2.3.10/config.h	2009-04-03 16:09:12.000000000 -0400
@@ -245,5 +245,6 @@
  */
 
 char *get_conf_value();
+char **getWavNames();
 
 #endif   /*  _config_siggen_h */
diff -urN siggen-2.3.10-orig/misc.c siggen-2.3.10/misc.c
--- siggen-2.3.10-orig/misc.c	2009-04-03 16:07:03.000000000 -0400
+++ siggen-2.3.10/misc.c	2009-04-03 16:07:14.000000000 -0400
@@ -27,6 +27,7 @@
 #include <sys/types.h>
 #include <unistd.h>
 #include <limits.h>
+#include <string.h>
 #include "config.h"
 /*
  * delay(us)  wait us microsecs using select. Effectively

--- End Message ---
--- Begin Message ---
Source: siggen
Source-Version: 2.3.10-2

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

siggen_2.3.10-2.diff.gz
  to pool/main/s/siggen/siggen_2.3.10-2.diff.gz
siggen_2.3.10-2.dsc
  to pool/main/s/siggen/siggen_2.3.10-2.dsc
siggen_2.3.10-2_i386.deb
  to pool/main/s/siggen/siggen_2.3.10-2_i386.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.
Jens Peter Secher <[email protected]> (supplier of updated siggen 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: Sat, 04 Apr 2009 22:57:38 +0200
Source: siggen
Binary: siggen
Architecture: source i386
Version: 2.3.10-2
Distribution: unstable
Urgency: low
Maintainer: Jens Peter Secher <[email protected]>
Changed-By: Jens Peter Secher <[email protected]>
Description: 
 siggen     - Waveform generation tools
Closes: 522461
Changes: 
 siggen (2.3.10-2) unstable; urgency=low
 .
   * Fix segmentation fault on amd64, thanks to Jim Paris.
     (Closes: #522461)
   * Use quilt instead of dpatch for patches, and describe how to use
     quilt in Debian.source (thanks to Russ Allbery).
   * Added a Vcs-Hg control filed to indicate the location of the public
     repository.
   * Bumped the Standards-Version to 3.8.1.
Checksums-Sha1: 
 37e61254a95fe5eb0aaf9f766cbcee4b1f674fb3 1200 siggen_2.3.10-2.dsc
 51c087466d9704fe67932d10b446e5d9d65b2e84 6226 siggen_2.3.10-2.diff.gz
 b995a93bbd54775605a6822f073c015b0900a305 145312 siggen_2.3.10-2_i386.deb
Checksums-Sha256: 
 7bd0529a0316dc1ff6d4bcdde883e997d190aa8f2cbd62cb2e76d3c40fc19bf3 1200 
siggen_2.3.10-2.dsc
 4653bf3fe3cb0e7e33efbe468ac5e97d558f75487f0f3d77d385d8d04b6faccf 6226 
siggen_2.3.10-2.diff.gz
 696bcda41f0dfc633ebb554ceccc5b69123eba88fb7b2a0e6ed3301e2f606c65 145312 
siggen_2.3.10-2_i386.deb
Files: 
 a197515d8cebe9c5e6fa1e57b1f93700 1200 sound optional siggen_2.3.10-2.dsc
 a1720ed24e65fdb9368697378d7898af 6226 sound optional siggen_2.3.10-2.diff.gz
 519918981caff7041c293492507e6872 145312 sound optional siggen_2.3.10-2_i386.deb

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

iJwEAQECAAYFAknXz5gACgkQiFVdEFPVQL+IpwP+LKB4iTSe4pc0OEKeFbsyEP/7
Oi2Ykb176oBzwuXkzO9xtiiN0RLRMGQxbvu2kA0P0H7EmWPlEcZgG6hXqctbFKhy
zMqDMrwn6wzu2wrENiAwCeHJZ5EHybtozXCMOr0GOYNRfwdPibk+fuXhIt5QtFhX
jUGnMDvw/7vDhC1YOjM=
=eZL5
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to