android_kernel_google_msm/drivers/char/diag
Mohit Aggarwal 518bb6e931 diag: Fix possible underflow/overflow issues
Add check in order to fix possible integer underflow
during HDLC encoding which may lead to buffer
overflow. Also added check for packet length to
avoid buffer overflow.

Bug: 28767796
Change-Id: Ic91b5ee629066f013022ea139b4a23ec661aa77a
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
Signed-off-by: Yuan Lin <yualin@google.com>
2016-06-03 11:57:55 -07:00
..
diag_dci.c diag: dci: Safeguard to prevent Integer Underflow and Memory Leak 2016-06-03 11:47:29 -07:00
diag_dci.h diag: dci: Check for request pkt length being lesser than minimum length 2016-06-02 11:50:13 -07:00
diag_debugfs.c diag: Safeguard for bound checks and integer underflow 2016-06-02 11:42:02 -07:00
diag_debugfs.h
diag_masks.c diag: Bring diag up to date 2013-03-15 17:08:56 -07:00
diag_masks.h diag: Add diag changes to bring diag up to date 2013-03-07 15:25:31 -08:00
diagchar.h diag: Bring diag up to date 2013-03-15 17:08:56 -07:00
diagchar_core.c diag: Make fixes to diag_switch_logging 2016-06-02 12:05:17 -07:00
diagchar_hdlc.c diag: Safeguard for bound checks and integer underflow 2016-06-02 11:42:02 -07:00
diagchar_hdlc.h diag: Modify diag to support multiple hsic instances 2013-03-15 17:07:46 -07:00
diagfwd.c diag: Fix possible underflow/overflow issues 2016-06-03 11:57:55 -07:00
diagfwd.h diag: Fix possible underflow/overflow issues 2016-06-03 11:57:55 -07:00
diagfwd_bridge.c diag: Modify diag to support multiple hsic instances 2013-03-15 17:07:46 -07:00
diagfwd_bridge.h diag: Add support for mutiple HSIC instances 2013-03-15 17:05:18 -07:00
diagfwd_cntl.c diag: Modify diag to support multiple hsic instances 2013-03-15 17:07:46 -07:00
diagfwd_cntl.h diag: Modify diag to support multiple hsic instances 2013-03-15 17:07:46 -07:00
diagfwd_hsic.c diag: Modify diag to support multiple hsic instances 2013-03-15 17:07:46 -07:00
diagfwd_hsic.h diag: Modify diag to support multiple hsic instances 2013-03-15 17:07:46 -07:00
diagfwd_sdio.c diag: Bring diag up to date 2013-03-15 17:08:56 -07:00
diagfwd_sdio.h diag: Bring diag up to date 2013-03-15 17:08:56 -07:00
diagfwd_smux.c diag: Modify diag to support multiple hsic instances 2013-03-15 17:07:46 -07:00
diagfwd_smux.h diag: Modify diag to support multiple hsic instances 2013-03-15 17:07:46 -07:00
diagmem.c diag: Modify diag to support multiple hsic instances 2013-03-15 17:07:46 -07:00
diagmem.h diag: Add support for mutiple HSIC instances 2013-03-15 17:05:18 -07:00
Kconfig diag: Add diag changes to bring diag up to date 2013-03-07 15:25:31 -08:00
Makefile diag: Add diag changes to bring diag up to date 2013-03-07 15:25:31 -08:00