Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e6d7b44f authored by Quallenauge's avatar Quallenauge Committed by Łukasz Patron
Browse files

Camera: Handle 0 faces count in received metadata

The goal of previously introduced changes for
validation of face count was to avoid buffer overflows.

0 is a special value, which should be handled as valid,
since no data is allocated in this case.

Change-Id: I1413ac8d12a337ad43abdffb7676c6f7d90cd785
parent 1dab634d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment