Bug 761965 (GLUSTER-233) - Crash in Apache running on booster when a client tries to access a symbolic link
Summary: Crash in Apache running on booster when a client tries to access a symbolic link
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-233
Product: GlusterFS
Classification: Community
Component: libglusterfsclient
Version: 2.0.6
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-01 05:21 UTC by Raghavendra G
Modified: 2009-09-09 11:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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.)


Note You need to log in before you can comment on or make changes to this bug.