linux-hardened/drivers/input/touchscreen
Daniel Kurtz 626af86112 Input: atmel_mxt_ts - use snprintf for sysfs attribute show method
Sysfs attribute show methods are always passed a buffer of length
PAGE_SIZE.  To keep from overwriting this buffer and causing havoc, use
snprintf() to guarantee we never write more than the buffer can hold.

In addition, at least for my touchscreen, the number and size of objects
was far too big to fit in a single 4K page.  Therefore, this patch also
trims some redundant framing text to leave more room for actual data.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Acked-by: Nick Dyer <nick.dyer@itdev.co.uk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2011-10-06 19:41:52 -07:00
..
88pm860x-ts.c
ad7877.c
ad7879-i2c.c
ad7879-spi.c
ad7879.c Input: ad7879 - fix deficient device disable 2011-08-02 22:17:44 -07:00
ad7879.h
ads7846.c Input: ads7846 - cleanup GPIO initialization 2011-06-27 13:08:05 -07:00
atmel-wm97xx.c Input: wm97xx - remove redundant define 2011-07-04 19:31:28 -07:00
atmel_mxt_ts.c Input: atmel_mxt_ts - use snprintf for sysfs attribute show method 2011-10-06 19:41:52 -07:00
atmel_tsadcc.c Input: remove IRQF_DISABLED from drivers 2011-09-07 14:19:11 -07:00
bu21013_ts.c
cy8ctmg110_ts.c Input: cy8ctmg110_ts - set reset_pin and irq_pin from platform data 2011-07-18 17:10:27 -07:00
da9034-ts.c
dynapro.c
eeti_ts.c
elo.c
fujitsu_ts.c
gunze.c
h3600_ts_input.c Input: remove IRQF_DISABLED from drivers 2011-09-07 14:19:11 -07:00
hampshire.c
hp680_ts_input.c Input: remove IRQF_DISABLED from drivers 2011-09-07 14:19:11 -07:00
htcpen.c
inexio.c
intel-mid-touch.c Input: intel-mid-touch - remove pointless checking for variable 'found' 2011-07-18 17:10:41 -07:00
jornada720_ts.c Input: remove IRQF_DISABLED from drivers 2011-09-07 14:19:11 -07:00
Kconfig Input: add a driver for TSC-40 serial touchscreen 2011-09-28 10:24:14 -07:00
lpc32xx_ts.c Input: remove IRQF_DISABLED from drivers 2011-09-07 14:19:11 -07:00
mainstone-wm97xx.c Input: wm97xx - remove redundant define 2011-07-04 19:31:28 -07:00
Makefile Input: add a driver for TSC-40 serial touchscreen 2011-09-28 10:24:14 -07:00
max11801_ts.c Input: max11801_ts - correct license statement 2011-08-20 14:39:53 -07:00
mc13783_ts.c
mcs5000_ts.c
migor_ts.c
mk712.c
mtouch.c
pcap_ts.c
penmount.c Input: penmount - simplify unregister procedure 2011-09-20 22:46:31 -07:00
s3c2410_ts.c Input: remove IRQF_DISABLED from drivers 2011-09-07 14:19:11 -07:00
st1232.c
stmpe-ts.c
tnetv107x-ts.c Input: tnetv107x-ts - add missing include of linux/module.h 2011-08-21 12:49:41 -07:00
touchit213.c
touchright.c
touchwin.c
tps6507x-ts.c input/tps6507x-ts: use system_wq instead of dedicated workqueue 2011-01-26 12:12:50 +01:00
tsc40.c Input: add a driver for TSC-40 serial touchscreen 2011-09-28 10:24:14 -07:00
tsc2005.c Input: tsc2005 - fix locking issue 2011-03-23 23:50:36 -07:00
tsc2007.c Input: tsc2007 - add open and close methods 2011-08-26 23:25:14 -07:00
ucb1400_ts.c Fix common misspellings 2011-03-31 11:26:23 -03:00
usbtouchscreen.c
w90p910_ts.c Input: remove IRQF_DISABLED from drivers 2011-09-07 14:19:11 -07:00
wacom_w8001.c Input: wacom_w8001 - simplify w8001_remove 2011-08-23 23:07:51 -07:00
wm97xx-core.c Fix common misspellings 2011-03-31 11:26:23 -03:00
wm831x-ts.c Input: wm831x-ts - move BTN_TOUCH reporting to data transfer 2011-04-27 23:12:22 -07:00
wm9705.c Input: wm97xx - mark channels which need pen_down 2011-07-04 19:31:47 -07:00
wm9712.c Input: wm97xx - mark channels which need pen_down 2011-07-04 19:31:47 -07:00
wm9713.c Input: wm97xx - mark channels which need pen_down 2011-07-04 19:31:47 -07:00
zylonite-wm97xx.c Input: wm97xx - remove redundant define 2011-07-04 19:31:28 -07:00