summaryrefslogtreecommitdiff
path: root/include/uapi/linux/kdev_t.h
diff options
context:
space:
mode:
authorRay Zhang <rayz@codeaurora.org>2015-10-13 16:29:23 +0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:46:52 -0700
commit0644e8bc24fccdb91f4a5ae2bb8b05fef4a3dd4e (patch)
tree3521ffc7c1efc4d116b34ba90a0dc6e5296f362d /include/uapi/linux/kdev_t.h
parent58a516841bbb99a8a0f64c1ae918d62ab27de8c4 (diff)
msm: mdss: correct the validating method of debug name string
The name member in mdss_debug_base struct is not a pointer, so the current method to check whether this name string is empty is invalid. Use strlen to fix this bug which might introduce NULL pointer references in some cases if the name string is empty. Change-Id: I52b5eeae5f303e5690ce1e6a4ce00debf3435ee2 Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Diffstat (limited to 'include/uapi/linux/kdev_t.h')
0 files changed, 0 insertions, 0 deletions