kubo/plthook

A minor typo issue.

ZhangZhuoSJTU opened this issue · 0 comments

Hi,

Thanks for your great efforts in developing plthook. It is a very useful tool.

While I am going through the code, I found a minor typo in code which in most cases does not affect the correctness but may be wrong sometimes.

I feel both below statements should use dyn->d_un.d_val instead of dyn->d_un.d_ptr.

total_size = dyn->d_un.d_ptr;

elem_size = dyn->d_un.d_ptr;

It is quite trivial, so I hope I would not bother you too much.

Thanks.