libXfont - scan-build results

User:jeremy@yuffie.apple.com
Working Directory:/Users/jeremy/src/freedesktop/jhbuild/src/xorg/lib/libXfont
Command Line:make
Clang Version:clang version 3.8.0 (branches/release_38 262722)
Date:Fri May 27 22:01:44 2016

Bug Summary

Bug TypeQuantityDisplay?
All Bugs34
Dead store
Dead assignment10
Dead increment6
Logic error
Dereference of null pointer12
Result of operation is garbage or undefined1
Unix API1
Memory Error
Memory leak2
Unix API
Allocator sizeof operand mismatch1
Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unix APIAllocator sizeof operand mismatchFreeType/ftfuncs.cFreeTypeInstanceFindGlyph6261View Report
Dead storeDead assignmentbitmap/bitscale.cScaleFont10111View Report
Dead storeDead assignmentfc/fserve.cfs_read_reply14191View Report
Dead storeDead assignmentutil/fontxlfd.cFontParseXLFDName4461View Report
Dead storeDead assignmentbitmap/bdfread.cbdfReadCharacters2901View Report
Dead storeDead assignmentbitmap/bdfutils.cbdfGetPropertyValue1651View Report
Dead storeDead assignmentbitmap/pcfwrite.cpcfWriteFont2561View Report
Dead storeDead assignmentbitmap/pcfwrite.cpcfWriteFont3441View Report
Dead storeDead assignmentbitmap/bitmapfunc.cBitmapOpenBitmap1301View Report
Dead storeDead assignmentfc/fserve.c_fs_get_conn_setup29491View Report
Dead storeDead assignmentbuiltins/render.cBuiltinOpenBitmap581View Report
Dead storeDead incrementFreeType/ftfuncs.cFreeTypeFontGetGlyph19301View Report
Dead storeDead incrementfc/fserve.cfs_read_query_info9571View Report
Dead storeDead incrementfc/fserve.cfs_read_query_info9561View Report
Dead storeDead incrementfc/fserve.cfs_read_list_info26101View Report
Dead storeDead incrementFreeType/ftfuncs.cFreeTypeFontGetGlyphMetrics19621View Report
Dead storeDead incrementfc/fserve.cfs_read_list_info26091View Report
Logic errorDereference of null pointerstubs/atom.cResizeHashTable9415View Report
Logic errorDereference of null pointerstubs/atom.c__libxfont_internal__MakeAtom1938View Report
Logic errorDereference of null pointerbitmap/fontink.cFontCharInkMetrics14319View Report
Logic errorDereference of null pointerbitmap/fontink.cFontCharInkMetrics12615View Report
Logic errorDereference of null pointerbitmap/bdfread.cbdfReadBitmap15818View Report
Logic errorDereference of null pointerbitmap/bitscale.cComputeScaledProperties62227View Report
Logic errorDereference of null pointerfc/fserve.cfs_read_list_info263249View Report
Logic errorDereference of null pointerbitmap/bdfread.cbdfReadBitmap17119View Report
Logic errorDereference of null pointerbitmap/bdfread.cbdfReadBitmap15315View Report
Logic errorDereference of null pointerstubs/atom.c__libxfont_internal__MakeAtom2029View Report
Logic errorDereference of null pointerbitmap/pcfwrite.cpcfWriteFont27211View Report
Logic errorDereference of null pointerbitmap/bdfread.cbdfReadBitmap16316View Report
Memory ErrorMemory leakFreeType/xttcap.cSPropRecValList_add_record26222View Report
Memory ErrorMemory leakFreeType/xttcap.cSPropRecValList_add_by_font_cap66812View Report
Logic errorResult of operation is garbage or undefinedbitmap/bdfread.cbdfReadBitmap16328View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)bitmap/bitscale.cBitmapScaleBitmaps14915View Report
Logic errorUnix APIfontfile/fontdir.cFontFileMakeDir15712View Report