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

Skip to content
Commit 1f1075f3 authored by Sachin Bhayare's avatar Sachin Bhayare Committed by Gerrit - the friendly Code Review server
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: I8919f0b01dcbcad9300c28e070e9b9ca64368db2
Signed-off-by: default avatarNarendra Muppalla <NarendraM@codeaurora.org>
Signed-off-by: default avatarSachin Bhayare <sachin.bhayare@codeaurora.org>
parent cb1c8216
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