HomeFreeBSD

Fix coverity defects: CID 150943, 150938

Description

Fix coverity defects: CID 150943, 150938

CID:150943, Type:Unintentional integer overflow
CID:150938, Type:Explicit null dereferenced

Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: cao.xuewen <cao.xuewen@zte.com.cn>
Closes #5255

Details

Provenance
cao <cao.xuewen@zte.com.cn>Authored on Oct 13 2016, 9:30 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 13 2016, 9:30 PM
Parents
rG05852b3467b4: Fix coverity defects: CID 147571, 147574
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG3f93077b024d: Fix coverity defects: CID 150943, 150938 (authored by cao <cao.xuewen@zte.com.cn>).Oct 13 2016, 9:30 PM