dahdi-linux/drivers/dahdi/xpp
Tzafrir Cohen ffdfdfb66b xpp_usb: Fix potential corruption on clock rewind
The xpp modules use time differences for various statistics. In one case
xpp_usb creates a histogram of the time it took the system to send USB
packets (URBs). The time difference is used (after adjustments) as an
index to that array.

However if the clock happens to go back at that exact point in time, we
get to write to an arbitrary negative index in this array.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
2016-03-16 18:20:44 +02:00
..
firmwares xpp: USB_FW*: fix incorrect chan num with 2FXS6FXO 2015-03-30 16:02:48 +03:00
card_bri.c xpp: Don't use create_proc_read_entry() 2013-05-24 00:30:33 +03:00
card_bri.h xpp: style - Run Lindent 2012-01-11 15:22:46 +00:00
card_echo.c Remove support for kernels < 2.6.18 2012-03-13 20:09:12 +00:00
card_echo.h xpp: style - Run Lindent 2012-01-11 15:22:46 +00:00
card_fxo.c xpp: Don't use create_proc_read_entry() 2013-05-24 00:30:33 +03:00
card_fxo.h xpp: style - clean many long lines (manually) 2012-01-11 19:56:35 +00:00
card_fxs.c xpp: demote some NOTICE() to DBG() 2014-05-27 14:04:48 +03:00
card_fxs.h xpp: style - clean many long lines (manually) 2012-01-11 19:56:35 +00:00
card_global.c xpp: Fail loading if no module on first slot 2013-11-10 16:39:36 +02:00
card_global.h xpp: reset Astribank SPI busses 2012-03-15 12:49:55 +00:00
card_pri.c dahdi: strnicmp() -> strncasecmp() 2015-03-02 21:09:19 +02:00
card_pri.h xpp: style - Run Lindent 2012-01-11 15:22:46 +00:00
Changelog_xpp wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
dahdi_debug.c Remove support for kernels < 2.6.18 2012-03-13 20:09:12 +00:00
dahdi_debug.h xpp: style - clean many long lines (manually) 2012-01-11 19:56:35 +00:00
init_card_1_30 xpp: ring/mwi settings: add to FXS init script 2013-10-01 15:25:42 +03:00
init_card_2_30 xpp: FXO: in-firmware polarity-reversal detection 2013-03-28 21:06:34 +02:00
init_card_3_30 wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
init_card_4_30 xpp: init_card_4_30: add comment 2011-01-30 18:10:33 +00:00
init_card_5_30 xpp: also install init (non)script for xpd_echo 2011-06-30 21:38:47 +00:00
Kbuild xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00
Kconfig wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
Makefile wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
mmapbus.c xpp: style - place EXPORT_SYMBOL() (manually) 2012-01-11 20:01:32 +00:00
mmapbus.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
mmapdrv.c Add #include <linux/slab.h> to all files that call kzalloc|kmalloc|kfree. 2014-05-20 11:36:23 -05:00
param_doc wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
parport_debug.c Remove support for kernels < 2.6.18 2012-03-13 20:09:12 +00:00
parport_debug.h xpp: style - Run Lindent 2012-01-11 15:22:46 +00:00
print_fxo_modes.c xpp: style - clean many long lines (manually) 2012-01-11 19:56:35 +00:00
xbus-core.c xpp: re-organize calls so worker_reset() 2014-05-27 14:04:48 +03:00
xbus-core.h Remove support for kernels < 2.6.18 2012-03-13 20:09:12 +00:00
xbus-pcm.c Remove support for kernels < 2.6.18 2012-03-13 20:09:12 +00:00
xbus-pcm.h xpp: style - Run Lindent 2012-01-11 15:22:46 +00:00
xbus-sysfs.c xpp: stability -- better debug information 2014-05-27 14:04:48 +03:00
xdefs.h xpp: Do not typedef bool on RHEL 5.2 or later. 2013-01-22 10:05:23 -06:00
xframe_queue.c xpp: style - place EXPORT_SYMBOL() (manually) 2012-01-11 20:01:32 +00:00
xframe_queue.h xpp: style - Run Lindent 2012-01-11 15:22:46 +00:00
xpd.h Add #include <linux/slab.h> to all files that call kzalloc|kmalloc|kfree. 2014-05-20 11:36:23 -05:00
xpp_dahdi.c Do not call dahdi_span_ops.open with spinlock held. 2014-06-20 13:01:27 -05:00
xpp_dahdi.h xpp: PRI stability fixes 2014-02-05 20:19:08 +02:00
xpp_debug xpp: fix bashism in xpp_debug 2011-08-24 08:11:38 +00:00
xpp_usb.c xpp_usb: Fix potential corruption on clock rewind 2016-03-16 18:20:44 +02:00
xpp.conf wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
XppConfig.pm wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xproto.c xpp: module_refcount is back to int on 3.19 2015-03-02 21:11:57 +02:00
xproto.h xpp: style - manual whitespace/line-breaks cleanup 2012-01-12 17:12:48 +00:00