Files
linux/drivers/gpu/drm
Joe Moriarty 27dcd5925a drm: NULL pointer dereference [null-pointer-deref] (CWE 476) problem
commit 22a07038c0 upstream.

The Parfait (version 2.1.0) static code analysis tool found the
following NULL pointer derefernce problem.

- drivers/gpu/drm/drm_dp_mst_topology.c
The call to drm_dp_calculate_rad() in function drm_dp_port_setup_pdt()
could result in a NULL pointer being returned to port->mstb due to a
failure to allocate memory for port->mstb.

Signed-off-by: Joe Moriarty <joe.moriarty@oracle.com>
Reviewed-by: Steven Sistare <steven.sistare@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180212195144.98323-3-joe.moriarty@oracle.com
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 17:15:46 +09:00
..
2023-05-15 16:15:25 +09:00
2018-03-22 09:54:47 +01:00
2016-09-19 15:04:15 +02:00
2016-08-07 23:38:48 -04:00
2016-09-21 13:33:50 +02:00
2018-08-14 19:41:01 -07:00
2016-09-06 13:56:41 -04:00
2016-09-19 13:57:38 +02:00
2016-09-19 13:57:38 +02:00
2016-05-06 16:04:48 +02:00
2016-09-19 13:57:38 +02:00
2018-08-14 19:40:39 -07:00