Files
linux/drivers/misc
Thierry Escande b49f6d83e2 misc: fastrpc: Fix a possible double free
This patch fixes the error exit path of fastrpc_init_create_process().
If the DMA allocation or the DSP invoke fails the fastrpc_map was freed
but not removed from the mapping list leading to a double free once the
mapping list is emptied in fastrpc_device_release().

[srinivas kandagatla]: Cleaned up error path labels and reset init mem
to NULL after free
Fixes: d73f71c7c6ee("misc: fastrpc: Add support for create remote init process")
Signed-off-by: Thierry Escande <thierry.escande@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-28 02:09:57 +09:00
..
2017-11-15 18:21:04 -08:00
2018-08-21 23:54:18 -04:00
2019-02-21 23:15:10 +11:00
2019-02-26 12:53:55 +01:00
2017-08-28 16:55:48 +02:00
2018-09-25 20:21:02 +02:00
2019-02-18 09:46:43 +01:00
2018-04-23 13:31:27 +02:00