Helper script fails to launch stegosuite application

Bug #2038668 reported by David Dombrowsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
stegosuite (Ubuntu)
New
Undecided
Unassigned

Bug Description

The script in /usr/bin/stegosuite does not quote the arguments properly, making it impossible to embed messages with spaces in them:

```
stegosuite -e --message "a b c" foo.png
```

This can be fixed by properly quoting the arguments in the helper script. See this diff:

```
--- stegosuite.orig 2023-10-06 11:06:12.052017660 -0400
+++ /usr/bin/stegosuite 2023-10-06 11:10:35.771779949 -0400
@@ -15,8 +15,8 @@

 # Run with GTK2-fallback if swt<=4.8 and gtk>=3.22
 if [ \( "$gtk3_version" -ge 22 \) -a \( "$swt4_version" -le 8 \) ]; then
- env SWT_GTK3=0 java -jar $STEGOSUITE_CLASSPATH $@
+ env SWT_GTK3=0 java -jar $STEGOSUITE_CLASSPATH "$@"
 else
- java -jar $STEGOSUITE_CLASSPATH $@
+ java -jar $STEGOSUITE_CLASSPATH "$@"
 fi
```

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: stegosuite 0.8.0-2 [modified: usr/bin/stegosuite]
ProcVersionSignature: Ubuntu 5.15.0-84.93~20.04.1-generic 5.15.116
Uname: Linux 5.15.0-84-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: LXDE
Date: Fri Oct 6 11:06:48 2023
InstallationDate: Installed on 2021-02-19 (959 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: stegosuite
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David Dombrowsky (davek) wrote :
David Dombrowsky (davek)
summary: - Helper script fails to launch application
+ Helper script fails to launch stegosuite application
Revision history for this message
Tobias Ilte (tobss) wrote :

Thanks for your report. This was already fixed with Stegosuite 0.9.0.
You can get it if you update to Ubuntu 23.04 or newer. Or by downloading it from here: https://launchpad.net/ubuntu/+source/stegosuite/0.9.0-1/+build/24622575

You need libpicocli-java 4.6.2 or newer in order to run it (https://packages.ubuntu.com/kinetic/all/libpicocli-java/download)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.