summaryrefslogtreecommitdiffstats
path: root/strudel.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-07-30 16:06:04 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-07-30 16:06:04 -0700
commit01e1dc8af54375c50e2cf8889a58a781b42bcae3 (patch)
tree39cf9b6fcc16e6a8786fb406232d5b99bc6e6829 /strudel.c
parent49255506f37ba61514c55b2f8bd6515ba1cae3c3 (diff)
downloadtxr-01e1dc8af54375c50e2cf8889a58a781b42bcae3.tar.gz
txr-01e1dc8af54375c50e2cf8889a58a781b42bcae3.tar.bz2
txr-01e1dc8af54375c50e2cf8889a58a781b42bcae3.zip
path-components-safe: check symlink link count.
* stdlib/path-test.tl (path-components-safe): Reject symlinks that have a link count not equal to one. This looks suspiciously like a hard link attack.
Diffstat (limited to 'strudel.c')
0 files changed, 0 insertions, 0 deletions