GNS3/dynamips

A potential bug of unchecked return value to null pointer dereference(2)

ash1852 opened this issue · 0 comments

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/ppc32.c , function ppc32_get_idling_pc line 181 :
Allocate memory to pc_hash (lacking failure check, 190 out of 213 memory allocations checked failures)

step 2 :
In file dynamips/stable/ppc32.c , function ppc32_get_idling_pc line 191 :
Load value from pc_hash[h_index] and assign to p