summaryrefslogtreecommitdiffstats
path: root/auth
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:36:31 -0700
commit86a428263aaf15b8b98f29a9d959fef3de6caa6b (patch)
treea74e94de1692d2bfcd71c38909d7a729a0e6ac7f /auth
parent66ba0e8e885f21adf0259ac61629efb8df747d37 (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 'auth')
0 files changed, 0 insertions, 0 deletions