"too short arguments" error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firejail (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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:/
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.
Thanks for the report. I have forwarded it upstream: https:/ /github. com/netblue30/ firejail/ issues/ 4395