mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
* grub-core/fs/proc.c: Allow \0 in proc files.
This commit is contained in:
1 parent
ba82db7a0d
commit
3bbeade41d
5 files changed
+12
-5
No files matched your search
@@ -57,8 +57,9 @@ static const char testfile[] =
|
||||
"timeout=3\n";
|
||||
|
||||
static char *
|
||||
get_test_cfg (void)
|
||||
get_test_cfg (grub_size_t *sz)
|
||||
{
|
||||
*sz = grub_strlen (testfile);
|
||||
return grub_strdup (testfile);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user