From: Pavel Roskin <pro...@gnu.org> Date: Mon, 27 Apr 2009 21:37:52 -0400
> On Mon, 2009-04-27 at 18:26 -0400, Pavel Roskin wrote: > >> It's entirely possible that the problem is elsewhere. But I have no >> experience debugging memory problems in GRUB, so it will take time >> before I find out. > > Done! disk->partition should not be copied by reference. This patch > fixes the broken magic problem. The issue with mixing device and disk > functions could be addressed separately. > > ChangeLog: > disk/fs_uuid.c (grub_fs_uuid_open): Allocate memory to copy > parent's partition, don't copy it by reference, as it gets freed > on close. Thanks for fixing this Pavel. I suspect this bug is why the close was left as a NOP function all of this time. Please commit this as it seems you haven't already :-) I'll take a look at your other patch too. _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel