mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
1fd6eb1264
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:
|
||
---|---|---|
.. | ||
vicodec | ||
vidtv | ||
vimc | ||
visl | ||
vivid | ||
Kconfig | ||
Makefile | ||
vim2m.c |