[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#930908: general: incorrect rules for %s in /etc/mailcap yielding potentially unquoted metacharacters



On 2019-06-22 10:51:35 +0200, Vincent Lefevre wrote:
[...]
> as seen in strace output:
> 
>   execve("/home/vinc17/bin/sh.screen", ["sh", "-c", "less ''/var/tmp/_.txt''"], 0x564ffe666f40 /* 132 vars */) = 0

FYI, the sh.screen is due to a modification I've done and is used
as a sh wrapper to support Mutt in GNU Screen and avoid a bug in
dash. But the issue does not depend on that and is shown by the

  "less ''/var/tmp/_.txt''"

argument.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: