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

Skip to content
Commit d3ac20b4 authored by Greg Kaiser's avatar Greg Kaiser
Browse files

stagefright: Move NULL check

We switch our NULL check to before we dereference 'buffer' for
the range_length().  This allows a debug build with a bad state
to have things caught via CHECK instead of a crash.

Test: Treehugger
Change-Id: Iae3a6a9e90ec91962dc0e9bebcac075cf1d7d4c1
parent f4b7851d
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