android_kernel_xiaomi_sm7250/drivers/char/diag
Manoj Prabhu B 15f079d1d6 diag: Use correct size while reallocating for hdlc encoding
Possibility of mismatch with realloc size against the buf size
can cause out of bound scenario. Prevent the same using
proper size for reallocation of hdlc encoding.

Change-Id: I0c0f822bc591af69b009967c89d378ac70f79678
Signed-off-by: Manoj Prabhu B <quic_bmanoj@quicinc.com>
2022-04-08 17:30:08 +05:30
..
diag_dci.c Merge "msm: diag: fix copyright" 2022-02-04 22:18:17 -08:00
diag_dci.h
diag_debugfs.c
diag_debugfs.h
diag_ipc_logging.h
diag_masks.c diag: Avoid possible out of bound access while sending masks 2021-12-06 17:13:22 +05:30
diag_masks.h
diag_memorydevice.c diag: Copy length and buffer locally to send to userspace client 2021-04-19 09:16:56 +05:30
diag_memorydevice.h
diag_mux.c
diag_mux.h
diag_usb.c diag: Read from USB without holding spinlock 2021-01-18 02:37:20 -08:00
diag_usb.h
diagchar_core.c diag: Allow DCI packets to be copied separately 2021-12-06 14:31:36 +05:30
diagchar_hdlc.c
diagchar_hdlc.h
diagchar.h
diagfwd_bridge.c
diagfwd_bridge.h
diagfwd_cntl.c diag: Add support for querying diagid for wpss subsystem 2020-12-20 23:53:30 -08:00
diagfwd_cntl.h
diagfwd_hsic.c
diagfwd_hsic.h
diagfwd_mhi.c diag: Do not USB write_done if MHI has gone down 2020-08-24 12:37:04 +05:30
diagfwd_mhi.h diag: Do not USB write_done if MHI has gone down 2020-08-24 12:37:04 +05:30
diagfwd_peripheral.c diag: Use correct size while reallocating for hdlc encoding 2022-04-08 17:30:08 +05:30
diagfwd_peripheral.h diag: Avoid reallocating if buffer supports hdlc max pkt size 2021-08-01 21:45:44 -07:00
diagfwd_rpmsg.c diag: Drop packets to avoid memory exhaustion 2021-10-07 22:02:59 -07:00
diagfwd_rpmsg.h diag: Drop packets to avoid memory exhaustion 2021-10-07 22:02:59 -07:00
diagfwd_smux.c
diagfwd_smux.h
diagfwd_socket.c diag: Enable graceful transfer of transport 2021-02-20 09:29:43 +05:30
diagfwd_socket.h diag: Enable graceful transfer of transport 2021-02-20 09:29:43 +05:30
diagfwd.c diag: Sanitize non-hdlc pkt length against buffer capacity 2021-12-06 16:45:28 +05:30
diagfwd.h
diagmem.c driver: Fix compilation error with new sdclang 12 2021-08-16 15:33:50 +05:30
diagmem.h
Kconfig
Makefile