libSM - scan-build results

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

Bug Summary

Bug TypeQuantityDisplay?
All Bugs15
Logic error
Dereference of null pointer11
Unix API
Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)4

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorDereference of null pointersm_client.cSmcCloseConnection2994View Report
Logic errorDereference of null pointersm_process.c_SmcProcessMessage3818View Report
Logic errorDereference of null pointersm_client.cSmcOpenConnection20715View Report
Logic errorDereference of null pointersm_manager.cSmsRegisterClientReply2013View Report
Logic errorDereference of null pointersm_process.c_SmcProcessMessage1748View Report
Logic errorDereference of null pointersm_client.cSmcOpenConnection26320View Report
Logic errorDereference of null pointersm_process.c_SmsProcessMessage7905View Report
Logic errorDereference of null pointersm_process.c_SmsProcessMessage4885View Report
Logic errorDereference of null pointersm_client.cSmcDeleteProperties3994View Report
Logic errorDereference of null pointersm_process.c_SmsProcessMessage8305View Report
Logic errorDereference of null pointersm_process.c_SmsProcessMessage7435View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)sm_process.c_SmsProcessMessage7555View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)sm_process.c_SmsProcessMessage8425View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)sm_process.c_SmcProcessMessage3896View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)sm_process.c_SmsProcessMessage7983View Report