summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-05-24 23:05:26 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-02 23:15:03 -0700
commita29ec1f1484902400f08b24ed777ea984923ffea (patch)
tree810a9222fbebfdf1e3aa231a08319d1207363659 /libglusterfsclient
parentf888b3f5be4be893323b644dba0668ae3d40228e (diff)
booster: Clean-up handling of log/fstab env variables
Handle two cases when deciding log/fstab file: 1. It turns out that that strdup or strlen doesnt actually check for NULL before trying to do its thing with the string so it seg-faults on seeing a NULL char pointer. 2. getenv can return an empty string if the env var was exported as: $ export GLUSTEFS_BOOSTER_LOG= Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'libglusterfsclient')
0 files changed, 0 insertions, 0 deletions