summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorSachin Bhayare <sachin.bhayare@codeaurora.org>2017-08-21 15:42:28 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-08-21 22:30:13 -0700
commit1f1075f3127e456a1bd90dc6a0315603c0e56f70 (patch)
tree9d8d79239310a6fd3d44dd45185d455f57075ee1 /lib/mpi/mpi-inline.h
parentcb1c821645fd08ff03c7ed4d62a6e4ca0a6a6ad5 (diff)
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: Narendra Muppalla <NarendraM@codeaurora.org> Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions