I've given this some thought and I believe it's because we're doing zero byte efivars and the efi driver does a zero byte kmalloc which does not return NULL and we then scribble over memory that is not actually allocated.
I've given this some thought and I believe it's because we're doing zero byte efivars and the efi driver does a zero byte kmalloc which does not return NULL and we then scribble over memory that is not actually allocated.