ecc907a9bd
[ Upstream commit b9b683844b01d171a72b9c0419a2d760d946ee12 ] In go7007_load_encoder, bounce(i.e. go->boot_fw), is allocated without a deallocation thereafter. After the following call chain: saa7134_go7007_init |-> go7007_boot_encoder |-> go7007_load_encoder |-> kfree(go) go is freed and thus bounce is leaked. Fixes: 95ef39403f89 ("[media] go7007: remember boot firmware") Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
go7007-driver.c | ||
go7007-fw.c | ||
go7007-i2c.c | ||
go7007-loader.c | ||
go7007-priv.h | ||
go7007-usb.c | ||
go7007-v4l2.c | ||
Kconfig | ||
Makefile | ||
s2250-board.c | ||
snd-go7007.c |