Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2020 21:09:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251025] efivar cannot write to EFI variables which have a ':' in their name
Message-ID:  <bug-251025-227-JN9A39gBox@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251025-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251025-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251025

xtouqh@icloud.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xtouqh@icloud.com

--- Comment #1 from xtouqh@icloud.com ---
Looking at the error message and breakdown_name() in usr.sbin/efivar/efivar=
.c,
this rather looks like "efivar cannot write to EFI variables which have a '=
-'
in their name".  If you look at the code linked below, the issue is quite
obvious -- we use strrchr() to find the end of GUID, and in this case it's =
not
correct:

https://svnweb.freebsd.org/base/head/usr.sbin/efivar/efivar.c?revision=3D36=
6165&view=3Dmarkup#l87

This needs a better way of distinguishing between GUID and var name.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251025-227-JN9A39gBox>