Package: xdg-utils
Version: 1.1.0~rc1+git20111210-7
Severity: normal
File: /usr/bin/xdg-icon-resource

Dear Maintainer,

There is unquoted icon_icon_file variable check in the condition statement:
/usr/bin/xdg-icon-resource:900:
[ $action = "install" ] && [ -f $icon_icon_file ] && DEBUG 1 "install 
$icon_icon_name meta file in $xdg_dir"

the variable icon_icon_file contains user-provided file path and the script 
fails if the path contains spaces.

Please change the line 900 to something like this:

[ $action = "install" ] && [ -f "$icon_icon_file" ] && DEBUG 1 "install 
$icon_icon_name meta file in $xdg_dir"

Best regards,
Marius


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (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

xdg-utils depends on no packages.

Versions of packages xdg-utils recommends:
ii  libfile-mimeinfo-perl  0.20-1
ii  libnet-dbus-perl       1.0.0-2+b1
ii  libx11-protocol-perl   0.56-4
ii  x11-utils              7.7+1
ii  x11-xserver-utils      7.7+1

Versions of packages xdg-utils suggests:
ii  gvfs-bin  1.16.3-1+b2

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to