aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-31 07:11:14 -0400
committerMike Frysinger <vapier@gentoo.org>2009-03-31 07:14:56 -0400
commit9cad39b6609508b27b4e872bf24dcf79792e785a (patch)
tree7a8078368048359caa39fed2a1428f0b7d0d18c3 /libsandbox/libsandbox.c
parentlibsandbox: fix regression during merge of tracing code (diff)
downloadsandbox-9cad39b6609508b27b4e872bf24dcf79792e785a.tar.gz
sandbox-9cad39b6609508b27b4e872bf24dcf79792e785a.tar.bz2
sandbox-9cad39b6609508b27b4e872bf24dcf79792e785a.zip
libsandbox: fix crash with unreadable paths
When trying to deal with simple paths like ".." in an unreadable tree, the realpath code would scan back too far with pointers and crash. mkdir -p a/b cd a/b chmod a-rx .. ls .. <boom> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox/libsandbox.c')
0 files changed, 0 insertions, 0 deletions