Fix a bug in tftp_read, which may appear when seeking back.
This commit is contained in:
parent
3785f597a0
commit
902ee9ccaf
2 changed files with 21 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue