summaryrefslogtreecommitdiffstats
path: root/qemu-io.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2016-04-27 16:29:08 +0200
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 20:03:50 -0600
commit0a5e111a8217e823f4c1e348b4117142b538ce36 (patch)
treeb6b76db01d6cd3bdbe4f74b025f61dcdd2499df8 /qemu-io.c
parent69226e12e6faa6058e5ad708569cb09381571e1d (diff)
downloadhqemu-0a5e111a8217e823f4c1e348b4117142b538ce36.zip
hqemu-0a5e111a8217e823f4c1e348b4117142b538ce36.tar.gz
replay: Fix dangling location bug in replay_configure()
replay_configure() pushes and pops a Location with automatic storage duration. Except it fails to pop when -icount parameter "rr" isn't given. cur_loc then points to unused stack space, and will most likely get clobbered in short order. Clobbered cur_loc can make loc_pop() and error_print_loc() crash or report bogus locations. Broken in commit 890ad55. I didn't take the time to find a reproducer. Cc: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1461767349-15329-3-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud