gcc/liboffloadmic/runtime
Ilya Verbin 6fd2e66a09 liboffloadmic: Add missed checks for malloc and strdup return values
liboffloadmic/
	* runtime/offload_engine.cpp (Engine::init_process): Use strdup instead
	of sizeof+malloc+sprintf, check for return value.
	* runtime/offload_env.cpp (MicEnvVar::get_env_var_kind): Check for
	strdup return value.
	* runtime/offload_host.cpp (__offload_init_library_once): Check for
	strdup return value.  Fix size calculation of COI_HOST_THREAD_AFFINITY.
	* runtime/emulator/coi_device.cpp (COIProcessWaitForShutdown): Check for
	malloc return value.

From-SVN: r228622
2015-10-08 19:04:43 +00:00
..
coi
emulator liboffloadmic: Add missed checks for malloc and strdup return values 2015-10-08 19:04:43 +00:00
orsl-lite
cean_util.cpp
cean_util.h
compiler_if_host.cpp
compiler_if_host.h
compiler_if_target.cpp
compiler_if_target.h
dv_util.cpp
dv_util.h
liboffload_error_codes.h
liboffload_error.c
liboffload_msg.c
liboffload_msg.h
mic_lib.f90
offload_common.cpp
offload_common.h
offload_engine.cpp liboffloadmic: Add missed checks for malloc and strdup return values 2015-10-08 19:04:43 +00:00
offload_engine.h
offload_env.cpp liboffloadmic: Add missed checks for malloc and strdup return values 2015-10-08 19:04:43 +00:00
offload_env.h
offload_host.cpp liboffloadmic: Add missed checks for malloc and strdup return values 2015-10-08 19:04:43 +00:00
offload_host.h
offload_iterator.h
offload_myo_host.cpp
offload_myo_host.h
offload_myo_target.cpp
offload_myo_target.h
offload_omp_host.cpp
offload_omp_target.cpp
offload_orsl.cpp
offload_orsl.h
offload_table.cpp
offload_table.h
offload_target_main.cpp
offload_target.cpp
offload_target.h
offload_timer_host.cpp
offload_timer_target.cpp
offload_timer.h
offload_trace.cpp
offload_trace.h
offload_util.cpp
offload_util.h
offload.h
ofldbegin.cpp
ofldend.cpp
use_mpss2.txt