shared: assert the source for memcpy
This commit is contained in:
parent
232bd67797
commit
b3c908b4a2
|
@ -269,6 +269,7 @@ int efi_set_variable(
|
|||
_cleanup_close_ int fd = -1;
|
||||
|
||||
assert(name);
|
||||
assert(value);
|
||||
|
||||
if (asprintf(&p,
|
||||
"/sys/firmware/efi/efivars/%s-%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
|
||||
|
|
Loading…
Reference in a new issue