Hide Forgot
Test setup: apache-2.2 running on booster. The client tried to access /usr/bin/xyz, which is a symbolic link with content "../../bin/xyz". while trimming to prev-dir on encountering the second ".." from end of the path string, the path constructed would be /usr/bin/. With the path terminating in a '/', libgf_trim_to_prev_dir trims the path to "/usr/bin/" itself causing an infinite recursion in glusterfs_glh_realpath.
PATCH: http://patches.gluster.com/patch/1203 in master (libglusterfsclient: handle paths terminating with '/' properly in libgf_trim_to_prev_dir.)
PATCH: http://patches.gluster.com/patch/1202 in release-2.0 (libglusterfsclient: handle paths terminating with '/' properly in libgf_trim_to_prev_dir.)