Your message dated Thu, 07 Mar 2013 03:04:20 +0000
with message-id <[email protected]>
and subject line Bug#701909: fixed in xarchiver 1:0.5.2+20130119+dfsg-2
has caused the Debian Bug report #701909,
regarding xarchiver: segfaults when using commandline switch -x to extract a
non-existent archive
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.)
--
701909: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701909
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xarchiver
Version: 1:0.5.2+20130119+dfsg-1
Severity: normal
While i was investigating another bug, i found this one.
Let's assume there is a password protected archive named
xarchiver.doc.zip and you would like to extract it to a directory
which you have to specify on the commandline with the -x switch.
xarchiver -x testdir xarchiver.doc.zip
will extract the content of the archive to testdir after asking for
the password.
But if you mistype the archive name like
xarchiver -x testdir xarchiver.doc.z
xarchiver will segfault.
I have attached a patch which checks whether the archive exists or
not and solves the issue.
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xarchiver depends on:
ii libc6 2.13-38
ii libgdk-pixbuf2.0-0 2.26.1-1
ii libglib2.0-0 2.33.12+really2.32.4-5
ii libgtk2.0-0 2.24.10-2
ii libpango1.0-0 1.30.0-1
Versions of packages xarchiver recommends:
ii bzip2 1.0.6-4
ii p7zip-full 9.20.1~dfsg.1-4
ii unzip 6.0-8
ii xdg-utils 1.1.0~rc1+git20111210-6
Versions of packages xarchiver suggests:
pn arj <none>
pn lha <none>
pn rar <none>
pn rpm <none>
ii unrar-free 1:0.0.1+cvs20071127-2
ii zip 3.0-6
-- no debconf information
From: Markus Koschany <[email protected]>
Date: Thu, 28 Feb 2013 17:45:50 +0100
Subject: fix segfault non-existent archive cmdl switch x
---
src/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index a6a7f93..a6e05e3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -141,7 +141,7 @@ int main (int argc, char **argv)
/* Switch -x */
if (extract_path != NULL)
{
- if (argv[1] == NULL)
+ if (argv[1] == NULL || archive == NULL)
{
response = xa_show_message_dialog (NULL,GTK_DIALOG_MODAL,GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,_("Can't extract files from the archive:"),_("You missed the archive name!\n"));
return -1;
--- End Message ---
--- Begin Message ---
Source: xarchiver
Source-Version: 1:0.5.2+20130119+dfsg-2
We believe that the bug you reported is fixed in the latest version of
xarchiver, 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.
Markus Koschany <[email protected]> (supplier of updated xarchiver 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: SHA256
Format: 1.8
Date: Wed, 06 Mar 2013 17:15:12 +0100
Source: xarchiver
Binary: xarchiver xarchiver-dbg
Architecture: source amd64
Version: 1:0.5.2+20130119+dfsg-2
Distribution: unstable
Urgency: low
Maintainer: Markus Koschany <[email protected]>
Changed-By: Markus Koschany <[email protected]>
Description:
xarchiver - GTK+ frontend for most used compression formats
xarchiver-dbg - debugging symbols for xarchiver
Closes: 633598 701909
Changes:
xarchiver (1:0.5.2+20130119+dfsg-2) unstable; urgency=low
.
* [3f6b363] Translate comment, GenericName and Name again.
The translation strings in xarchiver's desktop file have been accidentally
removed. Add them again.
* [2515903] Add check-for-password-protected-files-on-double-click.patch:
- Unsafe handling of password protected archives could result in a
complete freeze of xarchiver. The bug has been triggered by
double-clicking on files before a valid password had been provided.
To view an encrypted file by double-clicking on it, it is necessary
to provide the password via the popup menu (right-click->View) or the
"Enter password" dialog (main menu) first. (Closes: #633598)
* [a2bd7b1] Add fix-segfault-non-existent-archive-cmdl-switch-x.patch:
- Fixes a segmentation fault when trying to extract non-existent archives
with the command line switch -x. (Closes: #701909)
* [c40db27] Improve dep3 headers for all patches.
* [07ad3f9] Update copyright years.
Checksums-Sha1:
f6ce2cd6cb4b80f5d7bb5a03fda9d6df11767ccd 2049
xarchiver_0.5.2+20130119+dfsg-2.dsc
30292cf558c55240719858c3ce58045599072571 1120158
xarchiver_0.5.2+20130119+dfsg.orig.tar.gz
d7a007f83f7ead0fdba2a98a989ee9571effa6c5 13729
xarchiver_0.5.2+20130119+dfsg-2.debian.tar.gz
71275d7d06f25bae4a5eb5d354fb683f1eaa1f6d 537040
xarchiver_0.5.2+20130119+dfsg-2_amd64.deb
a1c7b91eb4dd4985af2fd0f5b0e7e34188edb3c3 433018
xarchiver-dbg_0.5.2+20130119+dfsg-2_amd64.deb
Checksums-Sha256:
9962d2ac88ed6206ba37b7ae9d174e934dce3b69b42e2733cd0052edc831bedb 2049
xarchiver_0.5.2+20130119+dfsg-2.dsc
4528f6c2ff2d84eb19e05175ad2f3526f81e7c887e7b140d1ba28266b297c4e6 1120158
xarchiver_0.5.2+20130119+dfsg.orig.tar.gz
e33ed74360404152c4a466b53caa38d95c304069ab138711ce627219c4a192d5 13729
xarchiver_0.5.2+20130119+dfsg-2.debian.tar.gz
cd86f32e1ebc7590ee854348923db2fed7f5191a801d42dc116202a396bdf3c6 537040
xarchiver_0.5.2+20130119+dfsg-2_amd64.deb
318c2f0373ddd7cd6074f8181dd25863c22286e7fc1b144b1afa3aa3698a75e6 433018
xarchiver-dbg_0.5.2+20130119+dfsg-2_amd64.deb
Files:
9b2f9c766c8783525401f7195208eecd 2049 x11 optional
xarchiver_0.5.2+20130119+dfsg-2.dsc
48ca67bbd53331456049dd6b8e29ab29 1120158 x11 optional
xarchiver_0.5.2+20130119+dfsg.orig.tar.gz
7eec09f0e00c6eafea669c206cede304 13729 x11 optional
xarchiver_0.5.2+20130119+dfsg-2.debian.tar.gz
58cea3b05ff724853b445be3c2555c7f 537040 x11 optional
xarchiver_0.5.2+20130119+dfsg-2_amd64.deb
9561c340ffa8edfd1f706dbbdc79aab7 433018 debug extra
xarchiver-dbg_0.5.2+20130119+dfsg-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJRN/kCAAoJEHQmOzf1tfkTIpkP/iLM1ZYy+wfWpmQl+Wg8E2a7
plVeQRB1JV221AsBHJf16rxMrVMn51Ri2eHi0SazZClHX2WiUambmMoyoiRPza3s
YVSAplBVRFVPIEyYy1RqyDrhH7/YGzSpFifQJDT0+4s41qGyY9FcZmui+BBSAb87
3FVy5vR+ICjjMrP0fIhdvkJu4D9fK+fiCygJmHnuQ/FQrrDlAQUbuQdJYIlt4wnu
PbMm9Zu2IRc+DKcDR860Vq8ltptu1SO3JIx6rms1UhdchibgDHcLjM3qXTy/W5fa
1t25oNQivUeiYG8CtOxiyYgAzw7MFGbXZ8zYkBydBNYqHWHqQI3DX5KQBQEDTrRl
f1Ct2xruQymCV9otSVs1vonH/+SYBOPsMk9QLVbFZJ4AaN7LNOzJOYiCxgWDzDYr
ehdFKX13cT7bzZNlJUou0esOwduHpyId1zfgK+2c8hAvN3iRFszLcedgaH3IvTud
V8ZMMM3S96qkwfNVDd+5Iastb2QvdQrel9P18Ma+e41KqpDfc8DOWgFKC2wgQ4RC
L2cwZIIPn9D8bhB1tBOCxp1xAd0dfzGhPKik/a/mFkAmfI0QWbCifu2qc7eNiW5I
EIiAcGmT3xTEDBaXD/f2hQYBYpoY88R6Uw18IVFbQud3xlwSL+VRAaBbVBLxz9wz
V0VQH5U5GT8kVufeRQXm
=3CnD
-----END PGP SIGNATURE-----
--- End Message ---