]> git.ipfire.org Git - thirdparty/grub.git/commit
Handling of files of unknown size is currently limited. They can't be
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 26 Dec 2010 20:15:31 +0000 (21:15 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 26 Dec 2010 20:15:31 +0000 (21:15 +0100)
commit0b2db94300dca2b7597e3fbf6ade3a1cebd72c19
tree84f4432f498761882cbbcadae4f6ca11c9df6690
parent5c408d0f50396e832b386e6f7678a5b401dbde84
Handling of files of unknown size is currently limited. They can't be
used e.g. for initrd or modules. Moreover gzip handling of not
easily seekable files is buggy. Disable unknown file size for now. May
be inefficient but works.

* grub-core/io/gzio.c (test_header): Always retrieve the file size.
* grub-core/io/xzio.c (grub_xzio_open): Likewise.
ChangeLog
grub-core/io/gzio.c
grub-core/io/xzio.c