Your message dated Tue, 07 Sep 2010 20:32:33 +0000
with message-id <[email protected]>
and subject line Bug#594190: fixed in asterisk 1:1.6.2.9-2
has caused the Debian Bug report #594190,
regarding asterisk: [patch] parser mangles #include
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.)


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

For a patch see original bug report:
https://issues.asterisk.org/view.php?id=17472

With an #include in extensions.conf:

[general]
static=yes
writeprotect=no

#include "exts/extensions-for-fax"

[globals]
TRUNK=DAHDI/g0
TRUNKMSD=1
.............

to a file that exists:

ls -l exts/extensions-for-fax
-rw-r--r--. 1 root root 6157 Nov 13 2009 exts/extensions-for-fax

the parser mangles the #include:

 == Parsing '/etc/asterisk/extensions.conf': == Found
[Jun 5 10:41:42] ERROR[26393]: config.c:1098 process_text_line: The file 
'exts/etensions--for-fax' was listed as a #include but it does not exist.




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

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages asterisk depends on:
ii  adduser                3.112             add and remove users and groups
ii  asterisk-config        1:1.6.2.9-1       Configuration files for Asterisk
ii  asterisk-core-sounds-e 1.4.19-1          asterisk PBX sound files - English
ii  dahdi                  1:2.2.1.1-1       utilities for using the DAHDI kern
ii  libasound2             1.0.23-1          shared library for ALSA applicatio
ii  libc-client2007e       8:2007e~dfsg-3.1  c-client library for mail protocol
ii  libc6                  2.11.2-2          Embedded GNU C Library: Shared lib
ii  libcap2                1:2.19-3          support for getting/setting POSIX.
ii  libcurl3               7.21.0-1          Multi-protocol file transfer libra
ii  libgcc1                1:4.4.4-8         GCC support library
ii  libglib2.0-0           2.24.1-1          The GLib library of C routines
ii  libgmime-2.0-2a        2.2.25-1.1        MIME library
ii  libgsm1                1.0.13-3          Shared libraries for GSM speech co
ii  libiksemel3            1.2-4             C library for the Jabber IM platfo
ii  libjack0 [libjack-0.11 1:0.118+svn3796-7 JACK Audio Connection Kit (librari
ii  libldap-2.4-2          2.4.17-2.1        OpenLDAP libraries
ii  liblua5.1-0            5.1.4-5           Simple, extensible, embeddable pro
ii  libncurses5            5.7+20100313-2    shared libraries for terminal hand
ii  libnewt0.52            0.52.11-1         Not Erik's Windowing Toolkit - tex
ii  libogg0                1.2.0~dfsg-1      Ogg bitstream library
ii  libopenais3            1.1.2-2           Standards-based cluster framework 
ii  libopenr2-3            1.3.0-2           MFC/R2 (telephony) call setup libr
ii  libpopt0               1.16-1            lib for parsing cmdline parameters
ii  libpq5                 8.4.4-2           PostgreSQL C client library
ii  libpri1.4              1.4.11.3-1        Primary Rate ISDN specification li
ii  libradiusclient-ng2    0.5.6-1           Enhanced RADIUS client library
ii  libresample1           0.1.3-3           real-time audio resampling library
ii  libsdl1.2debian        1.2.14-6          Simple DirectMedia Layer
ii  libsnmp15              5.4.3~dfsg-1      SNMP (Simple Network Management Pr
ii  libspandsp2            0.0.6~pre12-1     Telephony signal processing librar
ii  libspeex1              1.2~rc1-1         The Speex codec runtime library
ii  libspeexdsp1           1.2~rc1-1         The Speex extended runtime library
ii  libsqlite0             2.8.17-6          SQLite shared library
ii  libss7-1               1.0.2-1           Signalling System 7 (ss7) library
ii  libssl0.9.8            0.9.8o-1          SSL shared libraries
ii  libstdc++6             4.4.4-8           The GNU Standard C++ Library v3
ii  libsybdb5              0.82-7            libraries for connecting to MS SQL
ii  libtiff4               3.9.4-2           Tag Image File Format (TIFF) libra
ii  libtonezone2.0         1:2.2.1.1-1       tonezone library (runtime)
ii  libvorbis0a            1.3.1-1           The Vorbis General Audio Compressi
ii  libvorbisenc2          1.3.1-1           The Vorbis General Audio Compressi
ii  libvpb0                4.2.47-1          Voicetronix telephony hardware use
ii  libx11-6               2:1.3.3-3         X11 client-side library
ii  libxml2                2.7.7.dfsg-4      GNOME XML library
ii  unixodbc               2.2.14p2-1        ODBC tools libraries
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages asterisk recommends:
ii  sox                          14.3.1-1+b1 Swiss army knife of sound processi

Versions of packages asterisk suggests:
pn  asterisk-dev                  <none>     (no description available)
pn  asterisk-doc                  <none>     (no description available)
pn  asterisk-h323                 <none>     (no description available)

-- Configuration Files:
/etc/logrotate.d/asterisk changed [not included]

-- no debconf information
--- config.c.orig	2010-06-19 11:56:37.442182216 +0200
+++ config.c	2010-06-21 23:22:46.186217492 +0200
@@ -1052,20 +1052,12 @@
 
 		cur = c;
 		/* Strip off leading and trailing "'s and <>'s */
-		if (*c == '"') {
-			/* Dequote */
-			while (*c) {
-				if (*c == '"') {
-					strcpy(c, c + 1); /* SAFE */
-					c--;
-				} else if (*c == '\\') {
-					strcpy(c, c + 1); /* SAFE */
-				}
-				c++;
-			}
-		} else if (*c == '<') {
-			/* C-style include */
-			if (*(c + strlen(c) - 1) == '>') {
+		if ((*c == '"') || (*c == '<')) {
+			char quote_char = *c;
+			if (quote_char == '<')
+				quote_char = '>';
+
+			if (*(c + strlen(c) - 1) == quote_char) {
 				cur++;
 				*(c + strlen(c) - 1) = '\0';
 			}

--- End Message ---
--- Begin Message ---
Source: asterisk
Source-Version: 1:1.6.2.9-2

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

asterisk-config_1.6.2.9-2_all.deb
  to main/a/asterisk/asterisk-config_1.6.2.9-2_all.deb
asterisk-dbg_1.6.2.9-2_i386.deb
  to main/a/asterisk/asterisk-dbg_1.6.2.9-2_i386.deb
asterisk-dev_1.6.2.9-2_all.deb
  to main/a/asterisk/asterisk-dev_1.6.2.9-2_all.deb
asterisk-doc_1.6.2.9-2_all.deb
  to main/a/asterisk/asterisk-doc_1.6.2.9-2_all.deb
asterisk-h323_1.6.2.9-2_i386.deb
  to main/a/asterisk/asterisk-h323_1.6.2.9-2_i386.deb
asterisk-sounds-main_1.6.2.9-2_all.deb
  to main/a/asterisk/asterisk-sounds-main_1.6.2.9-2_all.deb
asterisk_1.6.2.9-2.debian.tar.gz
  to main/a/asterisk/asterisk_1.6.2.9-2.debian.tar.gz
asterisk_1.6.2.9-2.dsc
  to main/a/asterisk/asterisk_1.6.2.9-2.dsc
asterisk_1.6.2.9-2_i386.deb
  to main/a/asterisk/asterisk_1.6.2.9-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.
Faidon Liambotis <[email protected]> (supplier of updated asterisk 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: Tue, 07 Sep 2010 21:52:54 +0300
Source: asterisk
Binary: asterisk asterisk-h323 asterisk-doc asterisk-dev asterisk-dbg 
asterisk-sounds-main asterisk-config
Architecture: source all i386
Version: 1:1.6.2.9-2
Distribution: unstable
Urgency: high
Maintainer: Debian VoIP Team <[email protected]>
Changed-By: Faidon Liambotis <[email protected]>
Description: 
 asterisk   - Open Source Private Branch Exchange (PBX)
 asterisk-config - Configuration files for Asterisk
 asterisk-dbg - Debugging symbols for Asterisk
 asterisk-dev - Development files for Asterisk
 asterisk-doc - Source code documentation for Asterisk
 asterisk-h323 - H.323 protocol support for Asterisk
 asterisk-sounds-main - Core Sound files for Asterisk (English)
Closes: 589736 594190
Changes: 
 asterisk (1:1.6.2.9-2) unstable; urgency=high
 .
   [ Tzafrir Cohen ]
   * Bump Standards version to 3.9.0 (no change needed).
   * rtcp_cli_fix: Backport a silly CLI parsing issue. (Closes: #589736)
   * Patch typos: fix a few typos in the source.
   * Patch man_hyphen: fix hyphen/minus issues in man pages.
   * Remove useless binaries aelparse, conf2ael and muted.
 .
   [ Faidon Liambotis ]
   * Change the way that we read include files, to accommodate for changes
     in GCC 4.4. Taken from upstream's SVN, thanks to Peter Allgeyer for the
     patch and Stefan Bauer for preparing an upload. (Closes: #594190)
   * Set urgency high for a squeeze-targetted RC bug-fixing upload.
Checksums-Sha1: 
 90f73acaa9bf1afbe7858d1134c12b6ebc05c4c5 2136 asterisk_1.6.2.9-2.dsc
 92ae3ab1ff06dca5f8cdd878bf1a5ea3d319854e 70555 asterisk_1.6.2.9-2.debian.tar.gz
 aa3332012e04570385ffec76c81a1ab4baa75f70 1682346 asterisk-doc_1.6.2.9-2_all.deb
 dbd49c5ec861a1dcb15685e79dddebe66fed4b48 632262 asterisk-dev_1.6.2.9-2_all.deb
 12e822ac6d272f92cad836127894f023d26363cd 2182296 
asterisk-sounds-main_1.6.2.9-2_all.deb
 dd152ccdca0f4a434b409417cb7b4af191f0c3a8 710282 
asterisk-config_1.6.2.9-2_all.deb
 823028ce141525c247c0bb9660e9de2d0edde7bb 3318130 asterisk_1.6.2.9-2_i386.deb
 7710e35adab6c7f5924376f0a0ab75930d6498e2 527198 
asterisk-h323_1.6.2.9-2_i386.deb
 f42c818459c5fc2eb448a00cb174e706e3ff3dad 20304456 
asterisk-dbg_1.6.2.9-2_i386.deb
Checksums-Sha256: 
 e924431f95c7e186115363450c773f68b44fdd568c5a56f32832e153d76b6421 2136 
asterisk_1.6.2.9-2.dsc
 55d7e63c9264b483bb3489a8e7480857609fc7d84a4376dd152fa2986b4f4564 70555 
asterisk_1.6.2.9-2.debian.tar.gz
 db53c0e0aa3c0681037d8507b018df9f0cfff771ad8f102d4c48ae7c4d1eba92 1682346 
asterisk-doc_1.6.2.9-2_all.deb
 ecf2cb9bfe9a35e7ed8328b23bd7d1fe3e15ce566f11e5318c33c6427e4604df 632262 
asterisk-dev_1.6.2.9-2_all.deb
 ea0aaf59285152a55b8934a4f3f6c756c331b50d731f5897476ab402985fd72c 2182296 
asterisk-sounds-main_1.6.2.9-2_all.deb
 7cc98c205a12787497ecf4bd03a8a88791c10188442e3714060ce6caf3afa9a5 710282 
asterisk-config_1.6.2.9-2_all.deb
 b036c4ecd351e096b2a70f28a37c5b982f292d0dcb3334d2731f4f2dacc4ce15 3318130 
asterisk_1.6.2.9-2_i386.deb
 ed00142db27226afc3fe0229e7433f7af9f7d0daf59c8d855a7af4e32826c5cd 527198 
asterisk-h323_1.6.2.9-2_i386.deb
 a3d190b518df7b58e8a879ff6ecef5253fafbe83ae3abfc1ae75949ee8721f09 20304456 
asterisk-dbg_1.6.2.9-2_i386.deb
Files: 
 a0adfeea03788ecc755856e48dac4026 2136 comm optional asterisk_1.6.2.9-2.dsc
 f1ecdc1875441c8e4b43cf162e20adeb 70555 comm optional 
asterisk_1.6.2.9-2.debian.tar.gz
 d9ba9ce6d657ff1a0bec58368fbd1438 1682346 doc extra 
asterisk-doc_1.6.2.9-2_all.deb
 5b0f5440cb36b9c78c6a2ee31f2b4ebe 632262 devel extra 
asterisk-dev_1.6.2.9-2_all.deb
 f2cd0140a07e2702089a76a53cf8e36b 2182296 comm optional 
asterisk-sounds-main_1.6.2.9-2_all.deb
 a2e687db13655eb47d864c4e0faf5b4d 710282 comm optional 
asterisk-config_1.6.2.9-2_all.deb
 d316aae22a712ed32cf9a5a4ddd45ada 3318130 comm optional 
asterisk_1.6.2.9-2_i386.deb
 1c3182c68efb7308e309461a3b590346 527198 comm optional 
asterisk-h323_1.6.2.9-2_i386.deb
 01b8207f0152e22342e3d022b7692fba 20304456 debug extra 
asterisk-dbg_1.6.2.9-2_i386.deb

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

iEYEARECAAYFAkyGlzQACgkQVty5d8XpUzMhMwCeIpyeLKTkdtyLTTsvZZHJADe1
6IIAnjs048qpqTZOI8gK8Vb1Z0oyxc+M
=yf36
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to