diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2015-11-02 02:12:58 +0100 |
---|---|---|
committer | Marcin KoĆcielnicki <koriakin@0x04.net> | 2015-11-04 15:26:59 +0100 |
commit | 394816ee10a85e3e0fa7c9b0a4ca29e7e160e63c (patch) | |
tree | 3e358b49f28689b4eab4a4ed71f8b98aff5bc7c5 /gdb/testsuite/lib | |
parent | fe6052e1eeffd4e2e2210cebc480b90094429a16 (diff) | |
download | gdb-394816ee10a85e3e0fa7c9b0a4ca29e7e160e63c.zip gdb-394816ee10a85e3e0fa7c9b0a4ca29e7e160e63c.tar.gz gdb-394816ee10a85e3e0fa7c9b0a4ca29e7e160e63c.tar.bz2 |
gdb/record-full: Use xmalloc instead of alloca for temporary memory storage.
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.
Diffstat (limited to 'gdb/testsuite/lib')
0 files changed, 0 insertions, 0 deletions