diff options
author | Tomi Ollila <tomi.ollila@iki.fi> | 2019-08-26 20:03:46 +0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2019-08-29 14:32:54 -0300 |
commit | e13862f127394fd4addc5d2cf604b3af399c8377 (patch) | |
tree | 3130b8b7b29336dacf30c4cf44369d2c14328705 /mime-node.c | |
parent | 17806ecc955ce0375146ea1df51eae061a72bef8 (diff) |
configure: fix out of tree build; check unsafe characters in srcdir
While check for GMime session key extraction support... was made
out of tree build compatible, related (and some unrelated) unsafe
characters are now checked in notmuch source directory path.
The known unsafe characters in NOTMUCH_SRCDIR are:
- Single quote (') -- NOTMUCH_SRCDIR='${NOTMUCH_SRCDIR}'
is written to sh.config in configure line 1328.
- Double quote (") -- configure line 521 *now* writes "$srcdir"
into generated c source file ($NOTMUCH_SRCDIR includes $srcdir).
- Backslash (\) could also be problematic in configure line 521.
- The added $ and ` are potentially unsafe -- inside double quotes
in shell script those have special meaning.
Other characters don't expand inside double quoted strings.
Diffstat (limited to 'mime-node.c')
0 files changed, 0 insertions, 0 deletions