Klocwork check null before dereference in acl_kernel_if by sherry-yuan · Pull Request #43 · intel/fpga-runtime-for-opencl (original) (raw)
Pointer 'kern->accel_csr' returned from call to function 'acl_malloc' at line 875 may be NULL and may be dereferenced at line 886.
Pointer 'kern->accel_perf_mon' returned from call to function 'acl_malloc' at line 877 may be NULL and may be dereferenced at line 898.
Pointer 'kern->accel_num_printfs' returned from call to function 'acl_malloc' at line 879 may be NULL and may be dereferenced at line 908.
Pointer 'kern->accel_job_ids' returned from call to function 'acl_malloc' at line 947 may be NULL and will be dereferenced at line 962.
…encing
Pointer 'kern->accel_invoc_queue_depth' returned from call to function 'acl_malloc' at line 949 may be NULL and will be dereferenced at line 961.
Pointer 'kern->accel_queue_front' returned from call to function 'acl_malloc' at line 954 may be NULL and will be dereferenced at line 964
Pointer 'kern->accel_queue_back' returned from call to function 'acl_malloc' at line 955 may be NULL and will be dereferenced at line 965
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})