id24: SBARDEF #5494
Annotations
3 errors and 5 warnings
macOS Clang
Process completed with exit code 1.
|
Linux GCC
Process completed with exit code 1.
|
MSYS2 UCRT64
Process completed with exit code 1.
|
src/mn_menu.c:142:9 [clang-analyzer-optin.performance.Padding]:
src/mn_menu.c#L142
Excessive padding in 'menuitem_t' (15 padding bytes, where 7 is optimal). Optimal fields order: routine, alttext, flags, status, rect, alphaKey, name, consider reordering the fields or adding explicit padding members
|
src/st_sbardef.c:117:28 [clang-analyzer-unix.Malloc]:
src/st_sbardef.c#L117
Potential leak of memory pointed to by 'graphic'
|
src/st_sbardef.c:462:16 [clang-analyzer-unix.Malloc]:
src/st_sbardef.c#L462
Potential leak of memory pointed to by 'out'
|
src/st_stuff.c:1705:5 [clang-analyzer-core.NullDereference]:
src/st_stuff.c#L1705
Access to field 'hudfonts' results in a dereference of a null pointer (loaded from variable 'sbardef')
|
src/u_mapinfo.c:603:20 [clang-analyzer-unix.Malloc]:
src/u_mapinfo.c#L603
Potential leak of memory pointed to by 'pname'
|