linux/drivers/staging/speakup
Colin Ian King 99a9ffacc1 staging: speakup: ensure we do not overrun synths array
synth_add allows one to add MAXSYNTHS synths to the synths array;
however it always NULLifies the next synth in the array which
means that on the MAXSYNTHS synth we get an out-of-bounds write of
the NULL to the synths array.  Make the synths array MAXSYNTHS + 1
elements in size to allow for the final NULL sentinal to avoid the
out-of-bounds write.

Issue found wit CoverityScan, CID#744671

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-15 19:14:54 +02:00
..
buffers.c staging: speakup: (coding style) Rewrite comparisons to NULL 2016-01-28 22:40:31 -08:00
DefaultKeyAssignments
devsynth.c Staging: speakup: Remove space after cast 2016-08-15 19:14:53 +02:00
fakekey.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
i18n.c staging: speakup: compress return logic into one line 2016-02-11 20:00:30 -08:00
i18n.h
Kconfig Staging: speakup: Fix allyesconfig build on mn10300 2016-02-01 13:05:44 -08:00
keyhelp.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
kobjects.c Staging: speakup: Add space around '|' 2016-03-05 14:48:04 -08:00
main.c Staging: speakup: Clear hi font bit from attributes 2016-03-28 07:30:36 -07:00
Makefile
selection.c tty: Replace TTY_THROTTLED bit tests with tty_throttled() 2016-04-30 09:26:55 -07:00
serialio.c staging: speakup: Fix block comment style 2016-02-14 16:49:09 -08:00
serialio.h staging: speakup: fix type mismatch warnings 2016-03-28 07:30:36 -07:00
speakup_acnt.h
speakup_acntpc.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_acntsa.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_apollo.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_audptr.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_bns.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_decext.c Staging:speakup:add space around '|' 2016-02-07 19:07:38 -08:00
speakup_decpc.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_dectlk.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_dtlk.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_dtlk.h
speakup_dummy.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_keypc.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_ltlk.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_soft.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_spkout.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup_txprt.c Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
speakup.h
speakupmap.h
speakupmap.map
spk_priv_keyinfo.h Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
spk_priv.h Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
spk_types.h
spkguide.txt Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
synth.c staging: speakup: ensure we do not overrun synths array 2016-08-15 19:14:54 +02:00
thread.c
TODO
varhandlers.c Staging: speakup: varhandlers: cleanup of function spk_get_punc_var 2016-01-28 22:40:31 -08:00