[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Info-mtools] [PATCH] initializeDirentry: Zero-out entry direntry_t befo
From: |
Chris Lamb |
Subject: |
[Info-mtools] [PATCH] initializeDirentry: Zero-out entry direntry_t before using it |
Date: |
Mon, 29 Oct 2018 16:45:17 -0400 |
Hi mtools maintainers,
Whilst working on the Reproducible Builds effort [0] we noticed
that mtools does not operate on images in a reproducibile manner
and can even create corrupted FAT entries for directories when
when mcopy copies a directory.
This is due to writing unintialised memory and is fixed by a
memset(3).
The issue and patch were independently in both Debian bug #837044
[1] and then a few years later in #900409 [2] when attempting to
create reproducible Debian Installer images. It was forwarded
upstream at [3] but was seemingly not applied (the fix is not
present in recent 4.0.19 tarball).
[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/837044
[2] https://bugs.debian.org/900409
[3] https://lists.gnu.org/archive/html/info-mtools/2014-08/msg00000.html
---
direntry.c | 1 +
1 file changed, 1 insertion(+)
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` address@hidden / chris-lamb.co.uk
`-
initializeDirentry-Zero-out-entry-direntry_t-before-.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Info-mtools] [PATCH] initializeDirentry: Zero-out entry direntry_t before using it,
Chris Lamb <=