Hi,

i found a wrong word in an error message of grub-core/fs/iso9660.c
function grub_iso9660_uuid():

         grub_error (GRUB_ERR_BAD_NUMBER, "no creation date in filesystem to 
generate UUID");

The missing entity would be the modification date
  data->voldesc.modified
rather than the creation date
  data->voldesc.created

The fix is obviously simple. But i have no idea how to get the code
execution to this function for testing.
An ISO with 0 date would be easy to fake. A use case known to me is in
GRUB configuration with command "search" and option "--fs-uuid".
In grub-fstest.c i see no opportunity to perform "search".

Any idea how to test grub_iso9660_uuid() from userland of a running
GNU/Linux ?


Have a nice day :)

Thomas


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to