mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/fs/iso9660.c (grub_iso9660_susp_iterate): Avoid hang if
entry->len = 0.
This commit is contained in:
1 parent
54ce53cadc
commit
dadddb7665
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2013-01-03 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/fs/iso9660.c (grub_iso9660_susp_iterate): Avoid hang if
|
||||||
|
entry->len = 0.
|
||||||
|
|
||||||
2013-01-03 Colin Watson <cjwatson@ubuntu.com>
|
2013-01-03 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* docs/grub.texi (Invoking grub-mkrelpath): New section.
|
* docs/grub.texi (Invoking grub-mkrelpath): New section.
|
||||||
|
|||||||
@@ -295,7 +295,7 @@ grub_iso9660_susp_iterate (grub_fshelp_node_t node, grub_off_t off,
|
|||||||
if (load_sua ())
|
if (load_sua ())
|
||||||
return grub_errno;
|
return grub_errno;
|
||||||
|
|
||||||
for (; (char *) entry < (char *) sua + sua_size - 1;
|
for (; (char *) entry < (char *) sua + sua_size - 1 && entry->len > 0;
|
||||||
entry = (struct grub_iso9660_susp_entry *)
|
entry = (struct grub_iso9660_susp_entry *)
|
||||||
((char *) entry + entry->len))
|
((char *) entry + entry->len))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user