msm: camera: Fix out-of-bounds read in string class name.

jpeg driver is calling class_create with stack variable, which
can be overwritten by other stack variables.

Issue: SEC-1633
Bug: 114041685
Change-Id: I3c22a5b3375b970ff6b1c6de983dd5833f4e11d0
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
(cherry picked from commit 24eea1aafe09ff47ae9b8f210e40ebe67c9810d5)
1 file changed