Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:B
efivar
reproducible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible.patch of Package efivar
From a02f33199a3c28a655178d35188efda71406a6a0 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <bwiedemann@suse.de> Date: Tue, 24 Jul 2018 09:34:21 +0200 Subject: [PATCH] makeguids: initialize memory so that we do not write uninitialized memory into guids.bin and names.bin which made the resulting libefivar.so.1.36 unreproducible. See https://reproducible-builds.org/ for why this matters. --- src/makeguids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/makeguids.c b/src/makeguids.c index f84fbb8..a15356b 100644 --- a/src/makeguids.c +++ b/src/makeguids.c @@ -147,6 +147,7 @@ main(int argc, char *argv[]) outbuf = realloc(outbuf, line * sizeof (struct guidname)); if (!outbuf) err(1, "makeguids"); + memset(outbuf + line - 1, 0, sizeof(struct guidname)); char *symbol = strchr(guidstr, '\t'); if (symbol == NULL)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor