c2ea451f22
[ Upstream commit e0b0cb9388642c104838fac100a4af32745621e2 ]
In hgcm_call_preprocess_linaddr memory is allocated for bounce_buf but
is not released if copy_form_user fails. In order to prevent memory leak
in case of failure, the assignment to bounce_buf_ret is moved before the
error check. This way the allocated bounce_buf will be released by the
caller.
Fixes:
|
||
---|---|---|
.. | ||
vboxguest | ||
fsl_hypervisor.c | ||
Kconfig | ||
Makefile |