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

Skip to content
Commit 15f079d1 authored by Manoj Prabhu B's avatar Manoj Prabhu B
Browse files

diag: Use correct size while reallocating for hdlc encoding



Possibility of mismatch with realloc size against the buf size
can cause out of bound scenario. Prevent the same using
proper size for reallocation of hdlc encoding.

Change-Id: I0c0f822bc591af69b009967c89d378ac70f79678
Signed-off-by: default avatarManoj Prabhu B <quic_bmanoj@quicinc.com>
parent a4238be0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment