Sebastian Ott 94cbc203be [S390] cio: fix wrong buffer access in cio_ignore_write
Writing only spaces to /proc/cio_ignore will cause a buffer overflow
since the size_t value i will not become negative and so buf[-1UL] is
accessed. Change the value of i to ssize_t.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-03-26 15:24:16 +01:00
..
2009-03-26 15:24:14 +01:00
2008-07-14 10:02:11 +02:00
2008-12-25 13:39:10 +01:00
2009-03-26 15:24:13 +01:00
2009-03-26 15:24:14 +01:00
2008-07-14 10:02:12 +02:00
2008-10-10 21:33:53 +02:00
2008-10-10 21:33:53 +02:00
2009-01-08 08:31:15 -08:00