xdm - scan-build results

User:jeremy@yuffie.apple.com
Working Directory:/Users/jeremy/src/freedesktop/jhbuild/src/xorg/app/xdm
Command Line:make
Clang Version:clang version 3.8.0 (branches/release_38 262722)
Date:Tue May 31 21:39:20 2016

Bug Summary

Bug TypeQuantityDisplay?
All Bugs5
Dead store
Dead initialization1
Memory Error
Memory leak1
Security
Potential insecure implementation-specific behavior in call 'vfork'1
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 mismatchxdm/access.cReadHostEntry3161View Report
Dead storeDead initializationchooser/chooser.cPingHosts2341View Report
Memory ErrorMemory leakxdm/xdmauth.cXdmGetXdmcpAuth15513View Report
SecurityPotential insecure implementation-specific behavior in call 'vfork'xdmshell/xdmshell.cexec_args771View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)xdm/auth.cSetLocalAuthorization5014View Report