From: Stefan Berger
Fix the indentation and formatting in signature related files.
Signed-off-by: Stefan Berger
---
lib/rpmsignfiles.c | 12 ++--
sign/rpmgensig.c | 3 ++-
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git
From: Stefan Berger
Extend the header size to 64MB in case an RPM has a lot of files
and the file signatures do not fit within the current limit of 16MB.
An example for an RPM with many files is kcbench-data-4.0. It contains
more than 52000 files. With each signature with a
From: Stefan Berger
Fix various memory leaks in file signature related functions.
Signed-off-by: Stefan Berger
---
lib/rpmsignfiles.c | 2 ++
rpmsign.c | 4 +++-
sign/rpmgensig.c | 24 +---
3 files changed, 22
From: Stefan Berger
Check the range of the algo index parameter before using it for
accessing an array.
Signed-off-by: Stefan Berger
---
lib/rpmsignfiles.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/rpmsignfiles.c
This series of patches fixes several issues related to signed files
produced by rpmsign.
Stefan
Stefan Berger (5):
Fix indentation and formatting
Fix various memory leaks in file signature related functions.
Check range of algo index parameter before accessing array with it
Extend
From: Stefan Berger
Do not try to convert a zero-length file digest to a binary representation.
Zero-length file digests may stem from directory entries and symbolic links.
Return an empty signature in this case.
Returning an empty signature results in the ima.so plugin