A potential bug of unchecked return value to null pointer dereference(1)
Closed this issue · 0 comments
ash1852 commented
hello,I found a potential bug of unchecked return value to null pointer dereference in source code of dynamips , would you help me check whether this bug is ture?thank you for your effort and patience very much.
step 1 :
In file dynamips/stable/mips64.c , function mips64_get_idling_pc line 218 :
Allocate memory to pc_hash (lacking failure check, 190 out of 213 memory allocations checked failures)
step 2 :
In file dynamips/stable/mips64.c , function mips64_get_idling_pc line 228 :
Load value from pc_hash[h_index] and assign to p