Bug in backtrace_pcinfo's callback function in symbolizer.c
occia opened this issue · comments
Cen Zhang commented
I think here should be:
for (pp = (struct cgoSymbolizerMore**)(&arg->data); *pp != NULL; pp = &(*pp)->more) {
}
The condition should be !=
not ==
, or we will execute pp = &(NULL)->more
definitely. Is this a typo or I misunderstand this?
Ian Lance Taylor commented
Thanks. Fixed.