An experience of fixing a memory-corruption bug (3)
(7)UsingmprotectfunctionBecausethesecondelementofthearrayisalwayschangedtoNULL,Iused mprotectinsteadofmalloctoallocatethememoryofthearray,andsetread-onlyattributeofthememory.Soifthememoryischanged,the