there was a stack buffer overflow issue when access to pinfo hash on aarch64 system.
it caused by eina_hash_pointer_new (int64) to create hash using pid key (int32).
thus, stack overflow issue when memcpy on eina_hash_add.
for fix this issue, changed to eina_hash_int32_new instead of eina_hash_pointer_new.
Change-Id: I92fc6ef9778416f219af33b4c0ff4f571b3c3edf
pm = E_NEW(E_Process_Manager, 1);
EINA_SAFETY_ON_NULL_RETURN_VAL(pm, NULL);
- pm->pids_hash = eina_hash_pointer_new(NULL);
+ pm->pids_hash = eina_hash_int32_new(NULL);
if (!pm->pids_hash) goto error;
return pm;