Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package grub2 for openSUSE:Factory checked in at 2026-02-11 18:53:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grub2 (Old) and /work/SRC/openSUSE:Factory/.grub2.new.1670 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grub2" Wed Feb 11 18:53:52 2026 rev:383 rq:1332407 version:2.14 Changes: -------- --- /work/SRC/openSUSE:Factory/grub2/grub2.changes 2026-02-10 21:12:02.854620308 +0100 +++ /work/SRC/openSUSE:Factory/.grub2.new.1670/grub2.changes 2026-02-11 18:54:06.530654925 +0100 @@ -1,0 +2,7 @@ +Mon Feb 9 10:18:38 UTC 2026 - Michael Chang <[email protected]> + +- Fix error "grub-core/script/lexer.c:352:out of memory" after PowerPC CAS + Reboot (bsc#1254299) + * 0001-Fix-PowerPC-CAS-reboot-to-evaluate-menu-context.patch + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ 0001-Fix-PowerPC-CAS-reboot-to-evaluate-menu-context.patch ++++++ --- /var/tmp/diff_new_pack.V4T55C/_old 2026-02-11 18:54:15.119016329 +0100 +++ /var/tmp/diff_new_pack.V4T55C/_new 2026-02-11 18:54:15.127016664 +0100 @@ -35,6 +35,9 @@ echo 'Loading initial ramdisk ...' initrd /boot/initrd-6.4.0-150600.23.25-default +v2: Make sure cas_entry_id is freed in the last step, and that no +aliased reference remains (bsc#1254299). + Signed-off-by: Michael Chang <[email protected]> --- grub-core/normal/main.c | 60 ++++++++++++++++++++++-------- @@ -130,7 +133,7 @@ /* Time to delay after displaying an error message about a default/fallback entry failing to boot. */ -@@ -318,8 +321,31 @@ +@@ -318,8 +321,30 @@ grub_env_set ("default", ptr + 1); else grub_env_unset ("default"); @@ -155,14 +158,13 @@ + + exec_new_scope: + grub_script_execute_new_scope (sourcecode, entry->argc, entry->args); -+ grub_free (cas_entry_id); +#else grub_script_execute_new_scope (entry->sourcecode, entry->argc, entry->args); +#endif if (errs_before != grub_err_printed_errors) grub_wait_after_message (); -@@ -327,8 +353,23 @@ +@@ -327,8 +352,26 @@ errs_before = grub_err_printed_errors; if (grub_errno == GRUB_ERR_NONE && grub_loader_is_loaded ()) @@ -185,6 +187,9 @@ + grub_ieee1275_set_boot_last_label (""); +#endif + } ++#ifdef GRUB_MACHINE_IEEE1275 ++ grub_free (cas_entry_id); ++#endif if (errs_before != grub_err_printed_errors) grub_wait_after_message (); @@ -312,7 +317,7 @@ /* Max digits for a char is 3 (0xFF is 255), similarly for an int it is sizeof (int) * 3, and one extra for a possible -ve sign. */ -@@ -903,10 +900,6 @@ +@@ -905,10 +902,6 @@ grub_err_t ret = 0; struct grub_script *parsed_script;
