summaryrefslogtreecommitdiffhomepage
path: root/src/process
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-11 15:05:35 -0400
committermidipix <writeonce@midipix.org>2016-05-14 07:18:25 -0400
commit1219beec442e63d47eb5bfb3b3bd7a7818b657c7 (patch)
tree75f4132b7fc19972d0a047148207d09a379c10a6 /src/process
parentc713d8d019f7b0f9ed4a60912f440aca991d43c1 (diff)
downloadntapi-1219beec442e63d47eb5bfb3b3bd7a7818b657c7.tar.bz2
ntapi-1219beec442e63d47eb5bfb3b3bd7a7818b657c7.tar.xz
code maintenance: properly initialize struct entities.
Diffstat (limited to 'src/process')
-rw-r--r--src/process/ntapi_tt_init_runtime_data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process/ntapi_tt_init_runtime_data.c b/src/process/ntapi_tt_init_runtime_data.c
index 836b609..211f6f3 100644
--- a/src/process/ntapi_tt_init_runtime_data.c
+++ b/src/process/ntapi_tt_init_runtime_data.c
@@ -15,7 +15,7 @@ int32_t __stdcall __ntapi_tt_update_runtime_data(nt_runtime_data * rtdata)
int32_t status;
nt_process_basic_information pbi;
uint32_t ret;
- nt_oa oa = {sizeof(oa)};
+ nt_oa oa = {sizeof(oa),0,0,0,0,0};
/* process (self) */
rtdata->cid_self.process_id = pe_get_current_process_id();
@@ -48,7 +48,7 @@ int32_t __stdcall __ntapi_tt_init_runtime_data(nt_runtime_data * rtdata)
{
int32_t status;
nt_peb * peb;
- nt_oa oa = {sizeof(oa)};
+ nt_oa oa = {sizeof(oa),0,0,0,0,0};
/* init */
__ntapi->tt_aligned_block_memset(rtdata,0,sizeof(*rtdata));