Public bug reported:

This command results in "Error: too short arguments":

$ firejail pastebinit -a '' -b paste.debian.net -i - <<< "hello world"

Even if a "--" parameter terminator is used to prevent firejail from
treating a non-firejail argument as a firejail argument like this:

$ firejail -- pastebinit -a '' -b paste.debian.net -i - <<< "hello
world"

it still results in "Error: too short arguments".  The offending code is
here:

https://github.com/netblue30/firejail/blob/master/src/firejail/main.c#L1028

It's of course overstepping for firejail to impose requirements on args
passed to other applications.  The the example at hand, the "-a ''"
ensures that the author of a pastebin remains unnamed in the event that
pastebinit would decide to default to something like $(whoami).

This bug triggers in firejail version 0.9.64.4.

** Affects: firejail (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1934698

Title:
  "too short arguments" error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firejail/+bug/1934698/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to