| 1fd6eb12 | 19-Jun-2023 |
Jiasheng Jiang <[email protected]> |
media: vidtv: mux: Add check and kfree for kstrdup
Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference. Moreover, use kfree() in t
media: vidtv: mux: Add check and kfree for kstrdup
Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference. Moreover, use kfree() in the later error handling in order to avoid memory leak.
Fixes: c2f78f0cb294 ("media: vidtv: psi: add a Network Information Table (NIT)") Signed-off-by: Jiasheng Jiang <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| ed35980a | 06-Jan-2021 |
Daniel W. S. Almeida <[email protected]> |
media: vidtv: print message when driver is removed
Print a message when the driver is removed so that we get some visual confirmation when unbinding vidtv.
Signed-off-by: Daniel W. S. Almeida <dwls
media: vidtv: print message when driver is removed
Print a message when the driver is removed so that we get some visual confirmation when unbinding vidtv.
Signed-off-by: Daniel W. S. Almeida <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|
| 0b8f1d4a | 06-Jan-2021 |
Daniel W. S. Almeida <[email protected]> |
media: vidtv: use a simpler name in platform_{device|driver}
Change from "vidtv_bridge" to simply "vidtv" so that vidtv looks more similar to the other media virtual drivers in /sys/bus/platform.
S
media: vidtv: use a simpler name in platform_{device|driver}
Change from "vidtv_bridge" to simply "vidtv" so that vidtv looks more similar to the other media virtual drivers in /sys/bus/platform.
Signed-off-by: Daniel W. S. Almeida <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|
| 707848cc | 06-Jan-2021 |
Daniel W. S. Almeida <[email protected]> |
media: vidtv: reinstate sysfs bind attrs
Reinstate sysfs bind attrs so that vidtv can be bound and unbound via sysfs. This is useful for automated regression testing in userspace.
Signed-off-by: Da
media: vidtv: reinstate sysfs bind attrs
Reinstate sysfs bind attrs so that vidtv can be bound and unbound via sysfs. This is useful for automated regression testing in userspace.
Signed-off-by: Daniel W. S. Almeida <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|