Re: [PATCH 2/6] drivers/media/dvb-core/en50221: postpone release until file is closed

2016-06-09 Thread Mauro Carvalho Chehab
Em Mon, 21 Mar 2016 14:30:22 +0100 Max Kellermann escreveu: > Fixes use-after-free bug which occurs when I disconnect my DVB-S > received while VDR is running. I guess that the best way to fix it is to use a kref() that would be also incremented at open() and decremented at

Re: [PATCH 2/6] drivers/media/dvb-core/en50221: postpone release until file is closed

2016-06-09 Thread Mauro Carvalho Chehab
Em Mon, 21 Mar 2016 14:30:22 +0100 Max Kellermann escreveu: > Fixes use-after-free bug which occurs when I disconnect my DVB-S > received while VDR is running. I guess that the best way to fix it is to use a kref() that would be also incremented at open() and decremented at release(). This

[PATCH 2/6] drivers/media/dvb-core/en50221: postpone release until file is closed

2016-03-21 Thread Max Kellermann
Fixes use-after-free bug which occurs when I disconnect my DVB-S received while VDR is running. Signed-off-by: Max Kellermann --- drivers/media/dvb-core/dvb_ca_en50221.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git

[PATCH 2/6] drivers/media/dvb-core/en50221: postpone release until file is closed

2016-03-21 Thread Max Kellermann
Fixes use-after-free bug which occurs when I disconnect my DVB-S received while VDR is running. Signed-off-by: Max Kellermann --- drivers/media/dvb-core/dvb_ca_en50221.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git