2019년 9월 4일 (수) 오후 5:43, Rasmus Villemoes 님이 작성:
>
> On 04/09/2019 10.22, Austin Kim wrote:
> > If the kmalloc() return NULL, the NULL pointer dereference will occur.
> > new_ts->ts = ts;
> >
> > Add exception check after the call to kmalloc() is made.
2019년 9월 4일 (수) 오후 5:45, Greg KH 님이 작성:
>
> On Wed, Sep 04, 2019 at 05:22:32PM +0900, Austin Kim wrote:
> > If the kmalloc() return NULL, the NULL pointer dereference will occur.
> > new_ts->ts = ts;
> >
> > Add exception check after the call to kmalloc
If the kmalloc() return NULL, the NULL pointer dereference will occur.
new_ts->ts = ts;
Add exception check after the call to kmalloc() is made.
Signed-off-by: Austin Kim
---
drivers/staging/media/meson/vdec/vdec_helpers.c | 4
1 file changed, 4 insertions(+)
diff --git a/driv