diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-10-03 19:06:24 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-10-03 19:06:24 +0200 |
commit | 87dbde4f3b078173e53cd45cac000c2d2751b370 (patch) | |
tree | e39cbd11280cd0b303f24b53a7944163b2eb5a65 /URPM.xs | |
parent | 9f2fb1c976ac6befb1364f78609888a02fc59826 (diff) | |
download | perl-URPM-87dbde4f3b078173e53cd45cac000c2d2751b370.tar perl-URPM-87dbde4f3b078173e53cd45cac000c2d2751b370.tar.gz perl-URPM-87dbde4f3b078173e53cd45cac000c2d2751b370.tar.bz2 perl-URPM-87dbde4f3b078173e53cd45cac000c2d2751b370.tar.xz perl-URPM-87dbde4f3b078173e53cd45cac000c2d2751b370.zip |
fix segfault when checking invalid signatures
This is a rpm-4.14 regression where rpmReadPackageFile() no longer
initialize the header when the pkg is corrupted
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3136,7 +3136,7 @@ Urpm_verify_signature(filename, prefix=NULL) char result[1024]; rpmRC rc; FD_t fd; - Header h; + Header h = headerNew(); CODE: fd = Fopen(filename, "r"); if (fd == NULL) |