libXfont - scan-build results

User:jeremy@tifa
Working Directory:/home/jeremy/src/freedesktop/jhbuild-linux64/src/xorg/lib/libXfont
Command Line:make -j1
Date:Sun Jul 8 00:19:49 2012

Bug Summary

Bug TypeQuantityDisplay?
All Bugs36
API
Argument with 'nonnull' attribute passed null1
Dead store
Dead assignment16
Dead increment4
Dead initialization1
Logic error
Dereference of null pointer11
Unix API
Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)3

Reports

Bug Group Bug Type ▾ File Line Path Length
APIArgument with 'nonnull' attribute passed nullfontfile /fontdir.c15611View Report
Dead storeDead assignmentbuiltins /fpe.c591View Report
Dead storeDead assignmentbitmap /pcfwrite.c2551View Report
Dead storeDead assignmentbuiltins /render.c571View Report
Dead storeDead assignmentfc /fserve.c13161View Report
Dead storeDead assignmentbitmap /bitmapfunc.c1381View Report
Dead storeDead assignmentutil /fontxlfd.c4451View Report
Dead storeDead assignmentbitmap /snfread.c4001View Report
Dead storeDead assignmentbitmap /bdfread.c2801View Report
Dead storeDead assignmentbitmap /bitscale.c10291View Report
Dead storeDead assignmentbitmap /bdfutils.c1641View Report
Dead storeDead assignmentfontfile /catalogue.c2961View Report
Dead storeDead assignmentfontfile /catalogue.c3301View Report
Dead storeDead assignmentbitmap /pcfwrite.c3431View Report
Dead storeDead assignmentfc /fserve.c27421View Report
Dead storeDead assignmentfc /fserve.c9731View Report
Dead storeDead assignmentbitmap /snfread.c4011View Report
Dead storeDead incrementfc /fserve.c8611View Report
Dead storeDead incrementFreeType /ftfuncs.c19271View Report
Dead storeDead incrementFreeType /ftfuncs.c19591View Report
Dead storeDead incrementfc /fserve.c24031View Report
Dead storeDead initializationFreeType /xttcap.c6221View Report
Logic errorDereference of null pointerbitmap /fontink.c14219View Report
Logic errorDereference of null pointerutil /atom.c2128View Report
Logic errorDereference of null pointerbitmap /fontink.c12520View Report
Logic errorDereference of null pointerbitmap /bdfread.c16121View Report
Logic errorDereference of null pointerbitmap /pcfwrite.c27110View Report
Logic errorDereference of null pointerbitmap /bitscale.c64013View Report
Logic errorDereference of null pointerbitmap /bdfread.c15316View Report
Logic errorDereference of null pointerbitmap /bdfread.c14315View Report
Logic errorDereference of null pointerfc /fserve.c24256View Report
Logic errorDereference of null pointerFreeType /ftfuncs.c287814View Report
Logic errorDereference of null pointerbitmap /bdfread.c14818View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)bitmap /pcfread.c47620View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)bitmap /snfread.c36617View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)bitmap /bitscale.c15094View Report