diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2024-12-19 17:49:59 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2024-12-19 17:56:49 +0100 |
| commit | f6198e45b4cd924f390f977077d96b4545da0c91 (patch) | |
| tree | 82218db1991c4d4153141b4612cad6bf197632ae /doc/apt-transport-https.1.xml | |
| parent | b1cb2d37d015579d208bb79f6c4977e20fde12a5 (diff) | |
Be more strict about which PAGER to execvp() directly
There could be | or ; or other stuff in PAGER that needs
special handling, let's encode a list of known-good characters
instead. This covers all known pagers.
You could also try to execvp() PAGER in its entirety and if
it fails with ENOENT fall back to the shell but then you
don't get correct error handling if the pager really doesn't
exist (in which case we should abort trying to page).
Diffstat (limited to 'doc/apt-transport-https.1.xml')
0 files changed, 0 insertions, 0 deletions
