Bug 761965 (GLUSTER-233)

Summary: Crash in Apache running on booster when a client tries to access a symbolic link
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: libglusterfsclientAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 2.0.6CC: gluster-bugs, shehjart
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra G 2009-09-01 05:21:29 UTC
The crash was due to glusterfs_glh_realpath assuming that the virtual mount point would be part of the content of symbolic link. It used to search for a vmp entry corresponding to the content of the symbolic link and it failed since symbolic link had only a relative path without vmp as part of it. And later in the code, this NULL vmp-entry was being dereferenced, causing the crash.

Comment 1 Anand Avati 2009-09-08 07:22:45 UTC
PATCH: http://patches.gluster.com/patch/1195 in master (libglusterfsclient: fix to the way symbolic links are handled in glusterfs_glh_realpath.)

Comment 2 Anand Avati 2009-09-08 07:23:25 UTC
PATCH: http://patches.gluster.com/patch/1194 in release-2.0 (libglusterfsclient: fix to the way symbolic links are handled in glusterfs_glh_realpath.)