android_kernel_lge_bullhead/drivers/char/diag
Hardik Arya 85a9ae72d3 diag: Reallocate dci buffer with proper required capacity
DCI command buffer reallocation is not done properly with
required capacity. The patch reallocates the same buffer and
updated capacity properly with header and response length.

Bug: 129549913
Bug: 144528162
Bug: 140423420
Change-Id: I7b5fd132b9241d0f1493bcb602a6b361e4ad9a04
Signed-off-by: Hardik Arya <harya@codeaurora.org>
2020-07-11 12:31:00 +02:00
..
Kconfig diag: Remove diag sdio code references 2014-02-19 16:04:37 -08:00
Makefile diag: Add support for Diag over MHI 2014-10-06 20:12:02 -07:00
diag_dci.c diag: Reallocate dci buffer with proper required capacity 2020-07-11 12:31:00 +02:00
diag_dci.h diag: Prevent out-of-bound access while processing dci transaction 2020-07-11 12:30:28 +02:00
diag_debugfs.c diag: Add mutex protection while reading dci debug statistics 2018-01-11 19:08:29 +00:00
diag_debugfs.h diag: Add checks in initialization functions 2014-02-12 12:34:58 -08:00
diag_masks.c diag: Add proper synchronization checks to msg mask table 2017-09-11 23:22:01 +00:00
diag_masks.h Merge "diag: Fix event mask status" 2014-07-26 12:41:45 -07:00
diag_memorydevice.c diag: Do not add duplicate buffers to list in MEMORY_DEVICE_MODE 2015-05-04 22:44:34 -07:00
diag_memorydevice.h diag: Do not add duplicate buffers to list in MEMORY_DEVICE_MODE 2015-05-04 22:44:34 -07:00
diag_mux.c Merge "diag: Read data over peripherals in case of memory device mode" 2014-10-29 16:57:29 -07:00
diag_mux.h diag: Modularize different logging modes 2014-08-04 15:50:12 -07:00
diag_usb.c diag: Check if usb is connected while allocating usb requests 2015-02-26 01:42:57 -08:00
diag_usb.h diag: Modularize different logging modes 2014-08-04 15:50:12 -07:00
diagchar.h diag: Add proper synchronization checks to msg mask table 2017-09-11 23:22:01 +00:00
diagchar_core.c diag: Protect the decrement of number of diag clients 2018-06-05 17:24:09 +00:00
diagchar_hdlc.c diag: Safeguard for bound checks and integer underflow 2014-01-07 11:02:52 -08:00
diagchar_hdlc.h diag: Perform CRC check on incoming HDLC encoded packet 2013-09-04 17:21:26 -07:00
diagfwd.c diag: Fix possible underflow/overflow issues 2016-06-03 06:25:31 +00:00
diagfwd.h diag: Fix possible underflow/overflow issues 2016-06-03 06:25:31 +00:00
diagfwd_bridge.c diag: dci: Remote DCI channel discovery support 2014-10-17 12:31:38 -07:00
diagfwd_bridge.h diag: dci: Remote DCI channel discovery support 2014-10-17 12:31:38 -07:00
diagfwd_cntl.c diag: Add proper synchronization checks to msg mask table 2017-09-11 23:22:01 +00:00
diagfwd_cntl.h diag: dci: Remote DCI channel discovery support 2014-10-17 12:31:38 -07:00
diagfwd_hsic.c diag: Redesign diag bridge 2014-08-04 15:46:09 -07:00
diagfwd_hsic.h diag: Redesign diag bridge 2014-08-04 15:46:09 -07:00
diagfwd_mhi.c diag: dci: Remote DCI channel discovery support 2014-10-17 12:31:38 -07:00
diagfwd_mhi.h diag: Add support for Diag over MHI 2014-10-06 20:12:02 -07:00
diagfwd_smux.c diag: Redesign diag bridge 2014-08-04 15:46:09 -07:00
diagfwd_smux.h diag: Redesign diag bridge 2014-08-04 15:46:09 -07:00
diagmem.c Merge "diag: Make fixes to Memory Device mode" 2014-11-07 14:33:22 -08:00
diagmem.h diag: Make fixes to Memory Device mode 2014-09-30 13:54:30 -07:00