]> git.ipfire.org Git - thirdparty/grub.git/commit
Fix tar 4G limit and handle paths containing dot.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 25 Oct 2011 16:12:36 +0000 (18:12 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 25 Oct 2011 16:12:36 +0000 (18:12 +0200)
commitd4888031f2577c86f354393bf4e2e5f22ea25bd4
treed94e6b9cb1102c116283eb8611b760d8a744db09
parent9f12e664cc1b815cc01000cf87559a3c303de2e6
Fix tar 4G limit and handle paths containing dot.

* grub-core/fs/cpio.c (grub_cpio_data): Use grub_off_t for offsets.
(canonicalize): New function.
(grub_cpio_find_file): Use canonicalize. Store offs in
grub_disk_addr_t.
(grub_cpio_dir): Use grub_disk_addr_t.
(grub_cpio_open): Likewise.
ChangeLog
grub-core/fs/cpio.c