This release brings:
- Add check if sh_entsize is zero (coverity fix)
- Ensure child termination is handled properly in crash-service
Change-Id: I91f400d1e747fbd84894d77b6f215fb5efc03635
Name: crash-worker
Summary: Crash-manager
-Version: 5.5.24
+Version: 5.5.25
Release: 1
Group: Framework/system
License: Apache-2.0 and BSD
Name: crash-worker_system-tests
Summary: Package with binaries and scripts for crash-worker system tests
-Version: 5.5.24
+Version: 5.5.25
Release: 1
Group: Framework/system
License: Apache-2.0 and BSD
}
sym_data->data = elf_getdata(scn, nullptr);
+ if (sym_data->shdr.sh_entsize == 0) {
+ logger.log_info("sh_entsize is zero for %s", lib.c_str());
+ return nullptr;
+ }
sym_data->count = sym_data->shdr.sh_size / sym_data->shdr.sh_entsize;
return sym_data;