shared: assert the source for memcpy

This commit is contained in:
Thomas Hindoe Paaboel Andersen
2017-04-28 23:56:44 +02:00
parent 232bd67797
commit b3c908b4a2
+1
View File
@@ -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",