summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-05-30 17:13:41 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-05-30 17:13:41 +0200
commit114c1b274edc40e07e9b99a435d26438f5b99943 (patch)
tree8d17f48960a9d5f21900264d34c6d3d8d62880d3 /doc
parente13967d6479ead0be90fa241feb52a776b8481dc (diff)
Fix uninitialized pointer dereference in media_device_add_entity
When the entity being added has the default flag set, the function tries to set the entity as the default entity for its type by storing the entity pointer in the appropriate default entity field. If the entity type isn't recognized, the default entity pointer is left uninitialized, leading to a crash. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions