diff --git a/ChangeLog b/ChangeLog index 7b663dbf3..c1dad3bd9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-12-02 Vladimir Serbinenko + + * util/config.c: Add missing pointer adjustment. + Reported by: qwertial + 2013-11-30 Andrey Borzenkov * grub-core/kern/arm64/dl_helper.c: Include grub/arm64/reloc.h diff --git a/util/config.c b/util/config.c index f313714db..e7474c6d1 100644 --- a/util/config.c +++ b/util/config.c @@ -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);