+2002-05-08 Yoshinori K. Okuji <okuji@enbug.org>
+
+ * netboot/fsys_tftp.c (tftp_read): Don't call buf_fill unless
+ SIZE is positive.
+
2002-05-08 Yoshinori K. Okuji <okuji@enbug.org>
* netboot/etherboot.h (ETH_MAX_MTU): Because some DHCP/BOOTP
Eugene Doudine <dudin@np.nk.nornik.ru>
Florian Hatat <mininet@wanadoo.fr>
Frank Mehnert <fm3@os.inf.tu-dresden.de>
+Gary Poppitz <gpoppitz@tachyon.net>
Goran Koruga <goran.koruga@hermes.si>
Hal Snyder <hal@vailsys.com>
HASEGAWA Tomoki <thasegawa@mta.biglobe.ne.jp>
/*
* GRUB -- GRand Unified Bootloader
- * Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+ * Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
/*
* GRUB -- GRand Unified Bootloader
- * Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+ * Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
}
/* Read the data. */
- if (! buf_fill (0))
+ if (size > 0 && ! buf_fill (0))
{
errnum = ERR_READ;
return 0;