Follow-up Comment #1, bug #44238 (project grub):
+ while (*ptr)
+ {
+ end = ptr;
+ for (end = ptr; *end && !grub_isspace (*end); end++);
+ if (*end)
+ *end++ = '\0';
+
+ /* "~" is supposed to be current file, so let's skip it */
+ if (grub_strcmp (ptr, "~") == 0)
+ continue;
If you hit "~" you get endless loop.
Could you post fixed version to grub-devel for easier review?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44238>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub