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

Commit a6276183 authored by Yujun Zhang's avatar Yujun Zhang
Browse files

drm/msm/sde: count null character for blob length



Return value of snprintf doesn't account for the terminating
null character it appends to the end of every string.
So this change adds one extra character length to the blob size
to avoid over reading from the client end.

Change-Id: I4aa74b4c49171d642829b331a88f5960a7d25793
CRs-Fixed: 2044242
Signed-off-by: default avatarNarendra Muppalla <NarendraM@codeaurora.org>
Signed-off-by: default avatarYujun Zhang <yujunzhang@codeaurora.org>
parent e68546c8
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