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:Sat May 28 20:59:36 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.cFreeTypeInstanceFindGlyph6251View Report
Dead storeDead assignmentfc/fserve.cfs_read_reply14161View Report
Dead storeDead assignmentbitmap/bdfutils.cbdfGetPropertyValue1641View Report
Dead storeDead assignmentbitmap/pcfwrite.cpcfWriteFont2551View Report
Dead storeDead assignmentbitmap/bitscale.cScaleFont10131View Report
Dead storeDead assignmentutil/fontxlfd.cFontParseXLFDName4451View Report
Dead storeDead assignmentbitmap/bitmapfunc.cBitmapOpenBitmap1291View Report
Dead storeDead assignmentfc/fserve.c_fs_get_conn_setup29431View Report
Dead storeDead assignmentbitmap/bdfread.cbdfReadCharacters2891View Report
Dead storeDead assignmentbitmap/pcfwrite.cpcfWriteFont3431View Report
Dead storeDead assignmentbuiltins/render.cBuiltinOpenBitmap571View Report
Dead storeDead incrementFreeType/ftfuncs.cFreeTypeFontGetGlyphMetrics19611View Report
Dead storeDead incrementFreeType/ftfuncs.cFreeTypeFontGetGlyph19291View Report
Dead storeDead incrementfc/fserve.cfs_read_list_info26031View Report
Dead storeDead incrementfc/fserve.cfs_read_list_info26041View Report
Dead storeDead incrementfc/fserve.cfs_read_query_info9391View Report
Dead storeDead incrementfc/fserve.cfs_read_query_info9381View Report
Logic errorDereference of null pointerbitmap/pcfwrite.cpcfWriteFont27111View Report
Logic errorDereference of null pointerutil/atom.cResizeHashTable9515View Report
Logic errorDereference of null pointerutil/atom.cMakeAtom2189View Report
Logic errorDereference of null pointerbitmap/fontink.cFontCharInkMetrics14219View Report
Logic errorDereference of null pointerfc/fserve.cfs_read_list_info262650View Report
Logic errorDereference of null pointerbitmap/bdfread.cbdfReadBitmap17019View Report
Logic errorDereference of null pointerbitmap/bdfread.cbdfReadBitmap15215View Report
Logic errorDereference of null pointerutil/atom.cMakeAtom2088View Report
Logic errorDereference of null pointerbitmap/bitscale.cComputeScaledProperties62427View Report
Logic errorDereference of null pointerbitmap/bdfread.cbdfReadBitmap15718View Report
Logic errorDereference of null pointerbitmap/bdfread.cbdfReadBitmap16216View Report
Logic errorDereference of null pointerbitmap/fontink.cFontCharInkMetrics12515View Report
Memory ErrorMemory leakFreeType/xttcap.cSPropRecValList_add_by_font_cap66712View Report
Memory ErrorMemory leakFreeType/xttcap.cSPropRecValList_add_record26122View Report
Logic errorResult of operation is garbage or undefinedbitmap/bdfread.cbdfReadBitmap16228View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)bitmap/bitscale.cBitmapScaleBitmaps14935View Report
Logic errorUnix APIfontfile/fontdir.cFontFileMakeDir15612View Report