diff options
| author | Michal Simek <[email protected]> | 2021-10-15 16:57:39 +0200 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2021-10-21 08:54:50 +0200 |
| commit | 53f5d1688e33f4c9c1e68ba132d50f8aca06fc3b (patch) | |
| tree | 197a13e30a238db7ad9439d2d1154e04a8467917 /scripts/objdiff | |
| parent | b05cc389bac1151aa6b14e2d6a66d06329d7e3fe (diff) | |
firmware: zynqmp: fix write to an uninitialised pointer in ipi_req()
When a caller is not interested in the returned message, the ret_payload
pointer is set to NULL in the u-boot-sources. In this case, under EL3, the
memory from address 0x0 would be overwritten by ipi_req() with the returned
IPI message, damaging the original data under this address. The patch, in
case ret_payload is NULL, assigns the pointer to the array holding the IPI
message being sent.
Signed-off-by: Adrian Fiergolski <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Adrian Fiergolski <[email protected]>
Link: https://lore.kernel.org/r/3178ff7651948270b714daa4adad48b94eaca9ba.1634309856.git.michal.simek@xilinx.com
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
