mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-05 00:51:13 +00:00
* util/config.c: Add missing pointer adjustment.
Reported by: qwertial
This commit is contained in:
parent
5037aa9a7b
commit
9e4e6ddfbf
@ -1,3 +1,8 @@
|
||||
2013-12-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/config.c: Add missing pointer adjustment.
|
||||
Reported by: qwertial
|
||||
|
||||
2013-11-30 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||
|
||||
* grub-core/kern/arm64/dl_helper.c: Include grub/arm64/reloc.h
|
||||
|
@ -47,6 +47,9 @@ grub_util_parse_config (FILE *f, struct grub_util_config *cfg, int simple)
|
||||
{
|
||||
char *optr;
|
||||
enum { NONE, SNGLQUOT, DBLQUOT } state;
|
||||
|
||||
ptr += sizeof ("GRUB_DISTRIBUTOR=") - 1;
|
||||
|
||||
if (simple)
|
||||
{
|
||||
free (cfg->grub_distributor);
|
||||
|
Loading…
Reference in New Issue
Block a user