Your message dated Wed, 30 Jan 2008 02:17:02 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#463013: fixed in gammu 1.18.0-1 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: gammu Version: 1.17.90-1 Severity: normal Tags: patch -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (800, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.23.9 (PREEMPT) Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gammu depends on: ii libbluetooth2 3.24-1 Library to use the BlueZ Linux Blu ii libc6 2.7-6 GNU C Library: Shared libraries ii libgammu3 1.17.90-1 Mobile phone management library ii libmysqlclient15off 5.0.45-5 MySQL database client library gammu recommends no packages. -- no debconf information gammu dies while issuing the following command (this should export entry 1 from the backup file as VCARD under output/1.vcf): $ gammu savefile VCARD21 output/1.vcf backup-2008-01-27 ME 1 Segmentation fault In my example the target directory (output/) does not exist. Gammu does not check if the fopen() of the resulting file was successful. It just does a fwrite() which may (as in my case) segfault. Patch which checks the return value of fopen() appended. Best regards from Erlangen/Germany! Marcus Obst --- gammu-1.17.90/gammu/backup.c 2008-01-08 08:13:10.000000000 +0100 +++ gammu-1.17.90.patched/gammu/backup.c 2008-01-28 22:32:59.000000000 +0100 @@ -138,6 +138,10 @@ } file = fopen(argv[3],"wb"); + if (file == NULL) { + printf_err(_("Error while opening file for writing!\n")); + exit(-1); + } if (j != fwrite(Buffer,1,j,file)) { printf_err(_("Error while writing file!\n")); }
--- End Message ---
--- Begin Message ---Source: gammu Source-Version: 1.18.0-1 We believe that the bug you reported is fixed in the latest version of gammu, which is due to be installed in the Debian FTP archive: gammu_1.18.0-1.diff.gz to pool/main/g/gammu/gammu_1.18.0-1.diff.gz gammu_1.18.0-1.dsc to pool/main/g/gammu/gammu_1.18.0-1.dsc gammu_1.18.0-1_i386.deb to pool/main/g/gammu/gammu_1.18.0-1_i386.deb gammu_1.18.0.orig.tar.gz to pool/main/g/gammu/gammu_1.18.0.orig.tar.gz libgammu-common_1.18.0-1_all.deb to pool/main/g/gammu/libgammu-common_1.18.0-1_all.deb libgammu-dev_1.18.0-1_i386.deb to pool/main/g/gammu/libgammu-dev_1.18.0-1_i386.deb libgammu3-dbg_1.18.0-1_i386.deb to pool/main/g/gammu/libgammu3-dbg_1.18.0-1_i386.deb libgammu3_1.18.0-1_i386.deb to pool/main/g/gammu/libgammu3_1.18.0-1_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. Michal Čihař <[EMAIL PROTECTED]> (supplier of updated gammu 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.7 Date: Wed, 30 Jan 2008 10:44:34 +0900 Source: gammu Binary: gammu libgammu-dev libgammu-common libgammu3 libgammu3-dbg Architecture: source i386 all Version: 1.18.0-1 Distribution: unstable Urgency: low Maintainer: Michal Čihař <[EMAIL PROTECTED]> Changed-By: Michal Čihař <[EMAIL PROTECTED]> Description: gammu - Mobile phone management utility libgammu-common - Mobile phone management library libgammu-dev - Header files for Gammu libgammu3 - Mobile phone management library libgammu3-dbg - Mobile phone management library - debugger symbols Closes: 463013 Changes: gammu (1.18.0-1) unstable; urgency=low . * New upstream release. - Fixes crash when fopen fails (Closes: #463013). Files: 3453ad04d7463b186d308506632b6459 863 comm optional gammu_1.18.0-1.dsc 8b8d8b968eb6fc2fae7fb35eb37a5d16 1347460 comm optional gammu_1.18.0.orig.tar.gz ccfb6d23266a99f42ef740a276fcd5e1 5977 comm optional gammu_1.18.0-1.diff.gz c0d868c95e1d9d02e8da58e6f79f2030 272718 comm optional gammu_1.18.0-1_i386.deb e7f947b9305dc8697718e9352625f8dc 167420 libdevel optional libgammu-dev_1.18.0-1_i386.deb 97a4dbd490d4968969c78c7ecdb63c39 146000 libs optional libgammu-common_1.18.0-1_all.deb 6b504bf6b6ee7091f07a3e1a1cdac5b1 435526 libs optional libgammu3_1.18.0-1_i386.deb 42c3daff75a4febabce32a1377b0e3fa 1078768 libs extra libgammu3-dbg_1.18.0-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHn9nh3DVS6DbnVgQRApGAAJ4gDDNstUJuCXvfbJDKW2cQiJJW/QCgqhL9 ySzXyC0N2pqnqFEiYBOZ2JM= =0LN8 -----END PGP SIGNATURE-----
--- End Message ---

