[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] a7686d: Hexagon (disas/hexagon.c) fix memory
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] a7686d: Hexagon (disas/hexagon.c) fix memory leak for earl... |
Date: |
Sun, 15 Aug 2021 03:19:52 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: a7686d5d8528469b596e98eff098a5d3f8328fb3
https://github.com/qemu/qemu/commit/a7686d5d8528469b596e98eff098a5d3f8328fb3
Author: Taylor Simpson <tsimpson@quicinc.com>
Date: 2021-08-12 (Thu, 12 Aug 2021)
Changed paths:
M disas/hexagon.c
Log Message:
-----------
Hexagon (disas/hexagon.c) fix memory leak for early exit cases
Don't allocate the string until error conditions have been checked
Fixes: a00cfed0e ("Hexagon (disas) disassembler")
Eliminate Coverity CID 1460121 (Resource leak)
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daud? <f4bug@amsat.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Commit: f1a1a93646f49d710bc3937dd72e7a53b4a2fc6a
https://github.com/qemu/qemu/commit/f1a1a93646f49d710bc3937dd72e7a53b4a2fc6a
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2021-08-15 (Sun, 15 Aug 2021)
Changed paths:
M disas/hexagon.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/quic/tags/pull-hex-20210812' into
staging
Hexagon (disas/hexagon.c) fix memory leak for early exit
Don't allocate the string until error conditions have been checked
Fixes: a00cfed0e ("Hexagon (disas) disassembler")
Eliminate Coverity CID 1460121 (Resource leak)
# gpg: Signature made Fri 13 Aug 2021 04:03:00 BST
# gpg: using RSA key 7B0244FB12DE4422
# gpg: Good signature from "Taylor Simpson (Rock on) <tsimpson@quicinc.com>"
[undefined]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 3635 C788 CE62 B91F D4C5 9AB4 7B02 44FB 12DE 4422
* remotes/quic/tags/pull-hex-20210812:
Hexagon (disas/hexagon.c) fix memory leak for early exit cases
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/2edf8ac5bdd0...f1a1a93646f4
- [Qemu-commits] [qemu/qemu] a7686d: Hexagon (disas/hexagon.c) fix memory leak for earl...,
Peter Maydell <=