1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-28 12:11:45 +02:00
libunwind-eh_elf/src/mips
Tommi Rantala 5fef17c05d Fix memory leaks in unw_create_addr_space() wrong-endian error paths
Check the endianness earlier in unw_create_addr_space() on all
architectures to avoid leaking the dynamically allocated address space
struct.

This was already fixed for ARM in commit cf6a998796 ("Fix memory leak
in ARM unw_create_addr_space()"). Move the endianness check also on ARM
to avoid malloc() & free() in the error case.
2012-08-21 22:33:29 +03:00
..
elfxx.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Gcreate_addr_space.c Fix memory leaks in unw_create_addr_space() wrong-endian error paths 2012-08-21 22:33:29 +03:00
gen-offsets.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
getcontext.S Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Gget_proc_info.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Gget_save_loc.c Fix incorrect calls to memset. 2011-10-02 22:43:28 -07:00
Gglobal.c MIPS: implement dwarf_to_unw_regnum() macro without table 2012-08-21 22:30:46 +03:00
Ginit.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Ginit_local.c During the stack unwinding process, the return address points to 2010-04-24 19:16:09 -07:00
Ginit_remote.c During the stack unwinding process, the return address points to 2010-04-24 19:16:09 -07:00
Gis_signal_frame.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Gregs.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Gresume.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Gstep.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
init.h Fast back-trace for x86_64 for only collecting the call stack. 2011-03-24 22:33:17 -07:00
is_fpreg.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Lcreate_addr_space.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Lget_proc_info.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Lget_save_loc.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Lglobal.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Linit.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Linit_local.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Linit_remote.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Lis_signal_frame.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Lregs.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Lresume.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
Lstep.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
offsets.h Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
regname.c Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
siglongjmp.S Add initial ARM and MIPS support. To support this, also enable the 2008-02-04 17:16:37 -07:00
unwind_i.h MIPS: fix symbol naming for mips_lock', mips_local_resume', and `mips_local_addr_space_init' 2012-08-21 22:30:46 +03:00