android_kernel_google_msm/drivers/char/diag
Binoy Jayan bc64aa3603 char: Fix NULL pointer dereferences
Fix the following NULL pointer dereferences in character drivers.

Null pointer 'pra' that comes from line 825 may be passed to function
and can be dereferenced there by passing argument 4 to function
'fastrpc_internal_invoke' at line 847.
drivers/char/adsprpc.c +847 | fastrpc_device_ioctl()

Null pointer 'rpra' that comes from line 672 may be passed
to function and can be dereferenced there by passing argument 2
to function 'inv_args' at line 702.
drivers/char/adsprpc.c +702 | fastrpc_internal_invoke()

Constant NULL may be dereferenced by passing argument 3 to
function 'diag_device_write' at line 165.
drivers/char/diag/diagfwd_hsic.c +165 | diag_hsic_read_complete_callback()
drivers/char/diag/diagfwd.c +585 | diag_device_write()

Change-Id: I30469575c30f3846b449b6c71522f7dfc10c5bc5
Signed-off-by: Binoy Jayan <bjayan@codeaurora.org>
2016-10-29 23:12:34 +08: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
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 char: Fix NULL pointer dereferences 2016-10-29 23:12:34 +08: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
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
Kconfig
Makefile