[Crash-utility] unwind_arm.c: read_module_unwind_table free(tbl->idx) twice!

takuo.koguchi.sw at hitachi.com takuo.koguchi.sw at hitachi.com
Wed May 25 13:54:57 UTC 2011


Hello Dave,

While I was investigating ARM support for CONFIG_SPARSEMEM, 
I noticed 
read_module_unwind_table in unwind_arm.c would call free(tbl->idx) twice 
if(!readmem(idx_start, KVADDR, tbl->idx, idx, size,
		"module unwind index table", RETURN_ON_ERROR))

I think you can remove free(tbl->idx) which just before "return FALSE".

Takuo
  




More information about the Crash-utility mailing list