linux_dsm_epyc7002/arch/i386/boot
KAMBAROV, ZAUR a8f5034540 [PATCH] coverity: i386: build.c: negative return to unsigned fix
Variable "c" was declared as an unsigned int, but used in:

125  		for (i=0 ; (c=read(fd, buf, sizeof(buf)))>0 ; i+=c )
126  			if (write(1, buf, c) != c)
127  				die("Write call failed");

(akpm: read() can return -1.  If it does, we fill the disk up with garbage).

Signed-off-by: Zaur Kambarov <zkambarov@coverity.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-28 21:20:33 -07:00
..
compressed [PATCH] x86_64: coding style and whitespace fixups 2005-06-25 16:25:02 -07:00
tools [PATCH] coverity: i386: build.c: negative return to unsigned fix 2005-06-28 21:20:33 -07:00
bootsect.S [PATCH] CodingStyle: trivial whitespace fixups 2005-05-05 16:36:49 -07:00
edd.S [PATCH] x86_64: coding style and whitespace fixups 2005-06-25 16:25:02 -07:00
install.sh [PATCH] use ${CROSS_COMPILE}installkernel in arch/*/boot/install.sh 2005-06-23 09:45:07 -07:00
Makefile [PATCH] x86_64: coding style and whitespace fixups 2005-06-25 16:25:02 -07:00
mtools.conf.in Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.S [PATCH] x86_64: coding style and whitespace fixups 2005-06-25 16:25:02 -07:00
video.S [PATCH] CodingStyle: trivial whitespace fixups 2005-05-05 16:36:49 -07:00