android_kernel_google_msm/drivers/char
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
..
agp
diag diag: Fix possible underflow/overflow issues 2016-06-03 11:57:55 -07:00
hw_random Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
ipmi
mwave
pcmcia
tpm Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
xilinx_hwicap
adsprpc.c msm: ADSPRPC: Add checks for erroneous values 2016-06-02 12:32:11 -07:00
adsprpc_shared.h msm: ADSPRPC: Cleanup header and source. 2013-03-15 17:07:42 -07:00
apm-emulation.c
applicom.c
applicom.h
bfin-otp.c
bsr.c
csdio.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
dcc_tty.c char: dcc_tty: Update for spinlock changes 2013-01-10 11:12:09 -08:00
ds1302.c
ds1620.c
dsp56k.c
dtlk.c
efirtc.c
generic_nvram.c
genrtc.c
hangcheck-timer.c
hpet.c
i8k.c
Kconfig msm: Move adsprpc into drivers 2013-03-15 17:07:02 -07:00
lp.c
Makefile msm: Move adsprpc into drivers 2013-03-15 17:07:02 -07:00
mbcs.c
mbcs.h
mem.c
misc.c Avoid to create duplicate filename for misc devices. 2013-06-12 21:45:38 +00:00
mmtimer.c
msm_rotator.c msm: rotator: Add proper checks for enabling Fast YUV 2015-01-27 19:51:26 -05:00
msm_smd_pkt.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
mspec.c
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
ppdev.c
ps3flash.c
ramoops.c
random.c random: remove rand_initialize_irq() 2013-09-09 17:01:42 -07:00
raw.c
rtc.c
scx200_gpio.c
snsc.c
snsc.h
snsc_event.c
sonypi.c
tb0219.c
tile-srom.c
tlclk.c
toshiba.c
ttyprintk.c
uv_mmtimer.c
virtio_console.c