Task #92184 - fixed.err
back to task #92184download
Error: GCC_ANALYZER_WARNING (CWE-688): xen-4.20.1/tools/xentrace/xenalyze.c:327:14: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(fn, "rb")’ where non-null expected xen-4.20.1/tools/xentrace/xenalyze.c:10924:5: enter_function: entry to ‘main’ xen-4.20.1/tools/xentrace/xenalyze.c:10930:8: branch_false: following ‘false’ branch... xen-4.20.1/tools/xentrace/xenalyze.c:10933:18: branch_false: ...to here xen-4.20.1/tools/xentrace/xenalyze.c:10935:9: call_function: inlined call to ‘error’ from ‘main’ xen-4.20.1/tools/xentrace/xenalyze.c:10942:18: branch_false: ...to here xen-4.20.1/tools/xentrace/xenalyze.c:10945:8: branch_true: following ‘true’ branch... xen-4.20.1/tools/xentrace/xenalyze.c:10946:9: branch_true: ...to here xen-4.20.1/tools/xentrace/xenalyze.c:10946:9: call_function: calling ‘parse_symbol_file’ from ‘main’ # 325| /* FIXME -- use regexp. This won't work for symbols with spaces (yes they exist) */ # 326| (*p)->symbols[(*p)->count].addr = 0xDEADBEEF; # 327|-> if ( fscanf(symbol_file, "%llx %128s", # 328| &(*p)->symbols[(*p)->count].addr, # 329| (*p)->symbols[(*p)->count].name) == 0 )