cppcheck analysis of radiance_4R0+20110410-1.dsc
- ./src/common/bsdf_m.c:529 [error] - Uninitialized variable: c
- ./src/common/ezxml.c:375 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 376
- ./src/common/ezxml.c:444 [error] - Common realloc mistake: "u" nulled but not freed upon failure
- ./src/common/ezxml.c:617 [error] - Common realloc mistake: "s" nulled but not freed upon failure
- ./src/common/ezxml.c:764 [error] - Common realloc mistake: "s" nulled but not freed upon failure
- ./src/common/ezxml.c:779 [error] - Common realloc mistake: "s" nulled but not freed upon failure
- ./src/common/ezxml.c:453 [error] - Memory leak: u
- ./src/common/ezxml.c:770 [error] - Memory leak: s
- ./src/common/lamps.c:129 [error] - Memory leak: lp
- ./src/common/mgf_xf.c:117 [error] - Memory leak: spec.xarr
- ./src/common/tmapcolrs.c:347 [error] - Memory leak: rp
- ./src/common/tmapluv.c:99 [error] - Array 'uvp[2]' index 2 out of bounds
- ./src/common/tonemap.c:536 [error] - Memory leak: cumf
- ./src/cv/3ds2mgf.c:2182 [error] - Memory leak: new_mesh
- ./src/cv/obj2rad.c:723 [error] - Common realloc mistake: "vlist" nulled but not freed upon failure
- ./src/cv/obj2rad.c:750 [error] - Common realloc mistake: "vnlist" nulled but not freed upon failure
- ./src/cv/rayopt3ds.c:2277 [error] - Common realloc mistake: "ptable" nulled but not freed upon failure
- ./src/cv/rayopt3ds.c:2309 [error] - Common realloc mistake: "ttable" nulled but not freed upon failure
- ./src/cv/rayopt3ds.c:2346 [error] - Common realloc mistake: "vtable" nulled but not freed upon failure
- ./src/cv/tmesh2rad.c:294 [error] - Common realloc mistake: "vlist" nulled but not freed upon failure
- ./src/gen/mksource.c:254 [error] - Uninitialized variable: samptotal
- ./src/hd/rhdisp.c:516 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/hd/rhdisp2.c:44 [error] - Common realloc mistake: "cbeam" nulled but not freed upon failure
- ./src/hd/rholo3.c:101 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./src/hd/rholo4.c:250 [error] - Memory leak: buf
- ./src/meta/meta2bmp.c:130 [error] - Mismatching allocation and deallocation: fp
- ./src/meta/meta2tga.c:131 [error] - Mismatching allocation and deallocation: fp
- ./src/meta/xmeta.c:225 [error] - Mismatching allocation and deallocation: fp
- ./src/ot/wfconv.c:359 [error] - Common realloc mistake: "vlist" nulled but not freed upon failure
- ./src/ot/wfconv.c:383 [error] - Common realloc mistake: "vnlist" nulled but not freed upon failure
- ./src/px/pcond3.c:108 [error] - Uninitialized variable: lastb
- ./src/px/pcond3.c:108 [error] - Uninitialized variable: histep
- ./src/px/ra_rgbe.c:209 [error] - Common realloc mistake: "headlines" nulled but not freed upon failure
- ./src/px/warp3d.c:143 [error] - Memory leak: kd
- ./src/px/xshowtrace.c:129 [error] - Memory leak: newp
- ./src/rt/devmain.c:149 [error] - Uninitialized variable: buf
- ./src/rt/fprism.c:439 [error] - Common realloc mistake: "ray" nulled but not freed upon failure
- ./src/rt/persist.c:161 [error] - Allocation with open, if doesn't release it.
- ./src/rt/rv2.c:543 [error] - Uninitialized variable: buf
- ./src/rt/rview.c:117 [error] - Uninitialized variable: inpbuf
- ./src/rt/source.c:389 [error] - Common realloc mistake: "srccnt" nulled but not freed upon failure
- ./src/rt/source.c:391 [error] - Common realloc mistake: "cntord" nulled but not freed upon failure
- ./src/rt/srcsupp.c:57 [error] - Common realloc mistake: "source" nulled but not freed upon failure
- ./src/rt/virtuals.c:52 [error] - Common realloc mistake: "vobject" nulled but not freed upon failure
- ./src/rt/x11twind.c:73 [error] - Memory leak: t
- ./src/util/ranimove2.c:562 [error] - Division by zero
- ./src/util/rsensor.c:245 [error] - Common realloc mistake: "sarr" nulled but not freed upon failure
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 15 Apr 2011 06:58:14 +0000, based on results by cppcheck 1.46