On Fri, Nov 11, 2016 at 01:58:46PM +, Emil Velikov wrote:
> On 11 November 2016 at 10:56, Liviu Dudau wrote:
> > Hi Shailendra,
> >
> > On Fri, Nov 11, 2016 at 02:16:08PM +0530, Shailendra Verma wrote:
> >> From: "Shailendra Verma"
> >>
> >>
On Fri, Nov 11, 2016 at 01:58:46PM +, Emil Velikov wrote:
> On 11 November 2016 at 10:56, Liviu Dudau wrote:
> > Hi Shailendra,
> >
> > On Fri, Nov 11, 2016 at 02:16:08PM +0530, Shailendra Verma wrote:
> >> From: "Shailendra Verma"
> >>
> >> There is possible dereference of NULL pointer if
On 11 November 2016 at 10:56, Liviu Dudau wrote:
> Hi Shailendra,
>
> On Fri, Nov 11, 2016 at 02:16:08PM +0530, Shailendra Verma wrote:
>> From: "Shailendra Verma"
>>
>> There is possible dereference of NULL pointer if kmalloc fails.
>
> You could
On 11 November 2016 at 10:56, Liviu Dudau wrote:
> Hi Shailendra,
>
> On Fri, Nov 11, 2016 at 02:16:08PM +0530, Shailendra Verma wrote:
>> From: "Shailendra Verma"
>>
>> There is possible dereference of NULL pointer if kmalloc fails.
>
> You could add: ... when the function returns. From the
From: "Shailendra Verma"
There is possible dereference of NULL pointer if kmalloc fails,
When function returns.So return NULL if kmalloc fails.
Signed-off-by: Shailendra Verma
---
drivers/gpu/drm/arm/malidp_planes.c |3 +++
1 file
From: "Shailendra Verma"
There is possible dereference of NULL pointer if kmalloc fails,
When function returns.So return NULL if kmalloc fails.
Signed-off-by: Shailendra Verma
---
drivers/gpu/drm/arm/malidp_planes.c |3 +++
1 file changed, 3 insertions(+)
diff --git
Hi Shailendra,
On Fri, Nov 11, 2016 at 02:16:08PM +0530, Shailendra Verma wrote:
> From: "Shailendra Verma"
>
> There is possible dereference of NULL pointer if kmalloc fails.
You could add: ... when the function returns. From the patch itself it is
not clear where
Hi Shailendra,
On Fri, Nov 11, 2016 at 02:16:08PM +0530, Shailendra Verma wrote:
> From: "Shailendra Verma"
>
> There is possible dereference of NULL pointer if kmalloc fails.
You could add: ... when the function returns. From the patch itself it is
not clear where the problem is.
> So return
From: "Shailendra Verma"
There is possible dereference of NULL pointer if kmalloc fails.
So return NULL if kmalloc fails.
Signed-off-by: Shailendra Verma
---
drivers/gpu/drm/arm/malidp_planes.c |3 +++
1 file changed, 3 insertions(+)
From: "Shailendra Verma"
There is possible dereference of NULL pointer if kmalloc fails.
So return NULL if kmalloc fails.
Signed-off-by: Shailendra Verma
---
drivers/gpu/drm/arm/malidp_planes.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/arm/malidp_planes.c
10 matches
Mail list logo