]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2002-05-08 Yoshinori K. Okuji <okuji@enbug.org>
authorokuji <okuji@localhost>
Wed, 8 May 2002 07:12:29 +0000 (07:12 +0000)
committerokuji <okuji@localhost>
Wed, 8 May 2002 07:12:29 +0000 (07:12 +0000)
* netboot/fsys_tftp.c (tftp_read): Don't call buf_fill unless
SIZE is positive.

ChangeLog
THANKS
netboot/etherboot.h
netboot/fsys_tftp.c

index 0573d7251da758370d7d9243ceb5b0c583dfea5d..977738f1f061e263e72ba943d35a971aaf7b4d2f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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
diff --git a/THANKS b/THANKS
index b9685b27e8889b4735bf8b5cb67c56c9724f0811..4db2f3c3909a8c0b7611dfbd850bb851b8cae5e7 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -33,6 +33,7 @@ Erik Schoenfelder <schoenfr@gaertner.de>
 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>
index f0c35f1d0014bb62b5b2b6e51302f905f00cd2e7..74ca16f8d660d7b0581873b483bb569bd62f7a0e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  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
index cffb85f786e8adc5a97d93683977028adb54bf33..05dea899aceda0e7913bde7e598211948ff423a7 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  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
@@ -389,7 +389,7 @@ tftp_read (char *addr, int size)
        }
 
       /* Read the data.  */
-      if (! buf_fill (0))
+      if (size > 0 && ! buf_fill (0))
        {
          errnum = ERR_READ;
          return 0;