aboutsummaryrefslogtreecommitdiffstats
path: root/testsp.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-07-29 23:08:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-07-29 23:08:33 -0700
commit768aeab3232cd3077ffff579ff2d59441c6968ef (patch)
treeb6e9ee045fb84e1e4f2870db1f6a0047d26ca8f1 /testsp.c
parent2f27d6c386daff041017b7aaec51d0e50e603a8e (diff)
downloadsafepath-768aeab3232cd3077ffff579ff2d59441c6968ef.tar.gz
safepath-768aeab3232cd3077ffff579ff2d59441c6968ef.tar.bz2
safepath-768aeab3232cd3077ffff579ff2d59441c6968ef.zip
Fix link grafting bug.
Reported by Travis Ormandy in comp.unix.programmer. * safepath.c (safepath_check): In the case when we are combining a relative symlink target with remaining material from the path, there is a forgotten 1 offset which causes the slash between them to be deleted.
Diffstat (limited to 'testsp.c')
0 files changed, 0 insertions, 0 deletions