android_kernel_samsung_sm86.../dsp
mingzh d064f9840e dsp-kernel: use memcpy() instead of strcpy()
Current code uses strcpy() to copy strings, which has a problem with potential buffer overflows if the source string is longer than the destination buffer. We can improve this by using memcpy() with a specified length, because it allows us to control the number of bytes copied and thus prevent buffer overflows.

Change-Id: I9dd5da343bfd63e4e031a66fa26b103e3da573e0
Signed-off-by: mingzh <quic_mingzh@quicinc.com>
2024-07-29 02:41:52 -07:00
..
adsprpc_compat.c dsp-kernel: Fix to use copy from user for compat invoke user pointers 2024-07-19 23:24:05 +05:30
adsprpc_compat.h adsprpc: Add initial src files to new target 2022-08-12 17:41:38 -07:00
adsprpc_rpmsg.c msm: adsprpc: Add support for cdsp1 remoteproc 2024-06-06 10:50:53 +05:30
adsprpc_shared.h dsp-kernel: Handle UAF scenario in put_args 2024-07-11 01:46:18 -07:00
adsprpc_socket.c adsprpc: Add check to prevent out of bound access 2024-03-04 18:24:29 +05:30
adsprpc.c Merge "dsp-kernel: Handle memory leak in fastrpc file free" 2024-07-25 02:06:23 -07:00
cdsp-loader.c dsp-kernel: dsp: Update CDSP state flag after image unloading 2023-02-28 11:57:11 +05:30
fastrpc_trace.h dsp-kernel: use memcpy() instead of strcpy() 2024-07-29 02:41:52 -07:00