summaryrefslogtreecommitdiffstats
path: root/linux-user/sh4
diff options
context:
space:
mode:
authorPeter Maydell2016-07-12 14:02:18 +0200
committerRiku Voipio2016-09-21 13:28:20 +0200
commit0ef9ea290ed9319cb788ea40be06dd18b32ba05a (patch)
treecd426971fd00f9863c2165b22332338153b6465b /linux-user/sh4
parentlinux-user: Check dump_write() return in elf_core_dump() (diff)
downloadqemu-0ef9ea290ed9319cb788ea40be06dd18b32ba05a.tar.gz
qemu-0ef9ea290ed9319cb788ea40be06dd18b32ba05a.tar.xz
qemu-0ef9ea290ed9319cb788ea40be06dd18b32ba05a.zip
linux-user: Use glib malloc functions in load_symbols()
Switch to using the glib malloc functions in load_symbols(); this deals with a Coverity complaint about possible integer overflow calculating the allocation size with 'nsyms * sizeof(*syms)'. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/sh4')
0 files changed, 0 insertions, 0 deletions