AppImage/AppImageKit

appimagetool follows symlinks outside of the AppImage for determining architecture

Open

#546 opened on Nov 26, 2017

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C (8,239 stars) (547 forks)batch import
buggood first issue

Description

/home/me/squashfs-root/opt/cxoffice/support/apps.com.qq.im.light/dosdevices/f:/boot/grub/x86_64-efi/test.mod used for determining architecture x86_64
/home/me/squashfs-root/opt/cxoffice/support/apps.com.qq.im.light/dosdevices/f:/boot/grub/x86_64-efi/lspci.mod used for determining architecture x86_64
/home/me/squashfs-root/opt/cxoffice/support/apps.com.qq.im.light/dosdevices/f:/boot/grub/x86_64-efi/usb_keyboard.mod used for determining architecture x86_64
/home/me/squashfs-root/opt/cxoffice/support/apps.com.qq.im.light/dosdevices/f:/boot/grub/x86_64-efi/hexdump.mod used for determining architecture x86_64
/home/me/squashfs-root/opt/cxoffice/support/apps.com.qq.im.light/dosdevices/f:/boot/grub/x86_64-efi/true.mod used for determining architecture x86_64
/home/me/squashfs-root/opt/cxoffice/support/apps.com.qq.im.light/dosdevices/f:/boot/grub/x86_64-efi/usbserial_common.mod used for determining architecture x86_64

@teras when packaging an AppImage that contains a WINEPREFIX which links outside of the AppImage, then it tries to determine architectures outside of the AppImage.

It should not follow symlinks to determine the architecture, let alone symlinks that point to the outside of the AppImage.

Contributor guide