This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] gdb/record-full: Use xmalloc instead of alloca for temporary memory storage.


Marcin KoÅ?cielnicki  <koriakin@0x04.net>  wrote:

> On the newly added s390 target, it's possible for a single instruction
> to write practically unbounded amount of memory (eg. MVCLE).  This caused
> a stack overflow when alloca was used.
> 
> gdb/ChangeLog:
> 
> 	* record-full.c (record_full_exec_insn): Use xmalloc for temporary
> 	memory storage.

This is OK.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]