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:
parent
4f8e368fc0
commit
1b8463f2c4
4 changed files with 23 additions and 10 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2012-05-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
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.
|
||||
|
||||
2012-05-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-install.in: Fix handling of prefix containing spaces.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue