Blender Git Loki

Git Commits -> Revision a9c29cd

Revision a9c29cd by Kent Mein (master)
June 2, 2009, 19:29 (GMT)
This commit fixes the following two coverity issues:

CID: 475
Checker: REVERSE_INULL (help)
File: base/src/source/blender/blenkernel/intern/cloth.c
Function: bvhselftree_build_from_cloth
Description: Pointer "clmd" dereferenced before NULL check

CID: 476
Checker: REVERSE_INULL (help)
File: base/src/source/blender/blenkernel/intern/cloth.c
Function: bvhtree_build_from_cloth
Description: Pointer "clmd" dereferenced before NULL check

You'll notice in the code the var is actually set again
a few lines down before being used so better to set it
after you've made sure the pointer is valid.

Kent

Commit Details:

Full Hash: a9c29cd4154fcc3933d59eb06d4fe20790298e88
SVN Revision: 20584
Parent Commit: 62abe78
Lines Changed: +2, -2

1 Modified Path:

/source/blender/blenkernel/intern/cloth.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021