diff options
author | Laurent Vivier <laurent@vivier.eu> | 2016-01-18 23:50:45 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:45:58 -0600 |
commit | 1cc2a5b9298451b07792178329a4fde7b0fcc72c (patch) | |
tree | 2e4305cb7ef7e6c7ed083aefcf7c24e82eb3602b /cpu-exec.c | |
parent | 281ca2e6f09ea57d8041989672664f9c442b4d51 (diff) | |
download | hqemu-1cc2a5b9298451b07792178329a4fde7b0fcc72c.zip hqemu-1cc2a5b9298451b07792178329a4fde7b0fcc72c.tar.gz |
linux-user: fix realloc size of target_fd_trans.
target_fd_trans is an array of "TargetFdTrans *": compute size
accordingly. Use g_renew() as proposed by Paolo.
Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions