mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
Fix a bug in tftp_read, which may appear when seeking back.
This commit is contained in:
1 parent
3785f597a0
commit
902ee9ccaf
2 files changed
+21
-8
No files matched your search
@@ -1,3 +1,10 @@
|
||||
2001-10-13 Yoshinori K. Okuji <okuji@gnu.org>
|
||||
|
||||
* netboot/fsys_tftp.c (tftp_read): Move the unused data
|
||||
forwards, only if AMT is more than zero. If AMT is not positive,
|
||||
subtract BUF_READ from SAVED_FILEPOS and set BUF_READ to zero,
|
||||
to skip the whole buffer. Reported by Frank Mehnert.
|
||||
|
||||
2001-10-13 Yoshinori K. Okuji <okuji@gnu.org>
|
||||
|
||||
Don't use get_diskinfo_floppy. Reported by Ben Liblit
|
||||
|
||||
Reference in new issue
Block a user