msm: camera: core : Validate the dev name during the node ioctl handler
Validate the context device name with node name. If device name is not matching return the error. Change-Id: I8dee4e6f64e17b0d1e486077a2c8b0df562a702e Signed-off-by: Rishabh Jain <risjai@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
396a4cc576
commit
40047f58df
@@ -14,7 +14,7 @@
|
||||
#include "cam_debug_util.h"
|
||||
#include "cam_packet_util.h"
|
||||
|
||||
static const char jpeg_dev_name[] = "jpeg";
|
||||
static const char jpeg_dev_name[] = "cam-jpeg";
|
||||
|
||||
static int cam_jpeg_context_dump_active_request(void *data, unsigned long iova,
|
||||
uint32_t buf_info)
|
||||
|
Reference in New Issue
Block a user