mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
Fix errors on compressed NTFS with 512B clusters.
* include/grub/ntfs.h (grub_ntfscomp_func_t): Use appropriately sized types. * grub-core/fs/ntfs.c (grub_ntfs_read): Return correct -1 on error and not 0. * grub-core/fs/ntfscomp.c (read_block): Use appropriately-sized types. Relax check for inline extents. (ntfscomp): Return correct -1 on error and not 0.
This commit is contained in:
1 parent
4f8e368fc0
commit
1b8463f2c4
4 files changed
+23
-10
No files matched your search
+3
-3
@@ -181,10 +181,10 @@ struct grub_ntfs_rlst
|
||||
|
||||
typedef grub_err_t (*grub_ntfscomp_func_t) (struct grub_ntfs_attr * at,
|
||||
char *dest,
|
||||
grub_uint32_t ofs,
|
||||
grub_uint32_t len,
|
||||
grub_disk_addr_t ofs,
|
||||
grub_size_t len,
|
||||
struct grub_ntfs_rlst * ctx,
|
||||
grub_uint32_t vcn);
|
||||
grub_disk_addr_t vcn);
|
||||
|
||||
extern grub_ntfscomp_func_t grub_ntfscomp_func;
|
||||
|
||||
|
||||
Reference in new issue
Block a user