Commit b0ded4e7 authored by Arun Menon's avatar Arun Menon
Browse files

vidc: Fix incorrect return value check



Without this change, if the max number of clients is exceeded
then vdec_clients array accesses memory out of bounds causing a crash.

Change-Id: Ia7003fbb42d92a08d4a829803b764eb8da7c8fc6
Signed-off-by: default avatarArun Menon <menon@codeaurora.org>
parent f314abc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment