A potential bug of null pointer dereference(1)
ash1852 opened this issue · 0 comments
hello,I found a potential bug of 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/common/dev_plx.c , function dev_plx9054_init line 402 :
Return null to caller
step 2 :
In file dynamips/common/dev_pa_mc8te1.c , function dev_c7200_pa_mc8te1_init line 268 :
Store the return value of function dev_plx9054_init to d->plx_obj
step 3 :
In file dynamips/common/dev_pa_mc8te1.c , function dev_c7200_pa_mc8te1_init line 273 :
Load value from d->plx_obj
step 4 :
In file dynamips/common/dev_pa_mc8te1.c , function dev_c7200_pa_mc8te1_init line 273 :
Load value from d->plx_obj->data