<div dir="ltr"><br>> Although unlikely, HeapReAlloc() can fail and return NULL. It would be<br>> better to handle that possibility. Since increase_list_size() and<br>> process_list_append() are both small functions, I think it's worth<br>> considering merging increase_list_size() into process_list_append(),<br>> since that would probably simplify handling HeapReAlloc() failures.<br>> The comment about HEAP_ZERO_MEMORY in init_process_list() applies here<br>> as well.<br>><br><br>I didn't understand the function of the flags in HeapAlloc() and HeapReAlloc(). I read the function RtlAllocateHeap() but I am unable to figure out which flag to use out of HEAP_GENERATE_EXCEPTIONS, HEAP_NO_SERIALIZE and HEAP_ZERO_MEMORY. <div><br>All other changes done.<b> Diff file attached. </b></div><div><b><br></b></div><div><b><br></b></div><div><b><br></b></div></div>