Fix seg fault found in trodor
Fix seg fault found in trodor

Signed-off-by: Wilson Pan <cffb61273eed7b27b04627ae5366c564cd424eff@mozy.com>
Change-Id: I0c22eff451dfb07f73cfc2cf764183cc1de10739
Reviewed-on: https://gerrit.dechocorp.com/19069
Reviewed-by: Jeremy Stanley <b3f594e10a9edcf5413cf1190121d45078c62290@mozy.com>

mozy/mordor,ccutrer/mordor,adfin/mordor,adfin/mordor,mozy/mordor,mtanski/mordor,mozy/mordor,ccutrer/mordor,mtanski/mordor,adfin/mordor,ccutrer/mordor,mtanski/mordor