cppcheck analysis of radiance_4R0+20100729-1.dsc
- ./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/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:538 [error] - Memory leak: cumf
- ./src/cv/mgflib/3ds2mgf.c:2183 [error] - Memory leak: new_mesh
- ./src/cv/mgflib/rayopt.c:2278 [error] - Common realloc mistake: "ptable" nulled but not freed upon failure
- ./src/cv/mgflib/rayopt.c:2310 [error] - Common realloc mistake: "ttable" nulled but not freed upon failure
- ./src/cv/mgflib/rayopt.c:2347 [error] - Common realloc mistake: "vtable" nulled but not freed upon failure
- ./src/cv/mgflib/xf.c:127 [error] - Memory leak: spec.xarr
- ./src/cv/obj2rad.c:717 [error] - Common realloc mistake: "vlist" nulled but not freed upon failure
- ./src/cv/obj2rad.c:744 [error] - Common realloc mistake: "vnlist" 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:97 [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/normtiff.c:189 [error] - Resource leak: fp
- ./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:144 [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:438 [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:121 [error] - Uninitialized variable: inpbuf
- ./src/rt/source.c:383 [error] - Common realloc mistake: "srccnt" nulled but not freed upon failure
- ./src/rt/source.c:385 [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:244 [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 Wed, 22 Dec 2010 01:58:11 +0000, based on results by cppcheck 1.46