diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-05-22 10:22:06 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-05-22 10:22:06 +0000 |
commit | c627ba04cc39ef410ac350acd8ef5c1154a35a09 (patch) | |
tree | 9ca8cc3a084d3f0ea059d0cd06406d1d6ed6433e | |
parent | f99797b0f2e637bf643b6a7e1187eace3160feaf (diff) | |
download | perl-URPM-c627ba04cc39ef410ac350acd8ef5c1154a35a09.tar perl-URPM-c627ba04cc39ef410ac350acd8ef5c1154a35a09.tar.gz perl-URPM-c627ba04cc39ef410ac350acd8ef5c1154a35a09.tar.bz2 perl-URPM-c627ba04cc39ef410ac350acd8ef5c1154a35a09.tar.xz perl-URPM-c627ba04cc39ef410ac350acd8ef5c1154a35a09.zip |
Patch by Pascal Terjan to fix a FD leak (bug #22632)
-rw-r--r-- | URPM.xs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3453,6 +3453,7 @@ Urpm_verify_signature(filename) rpmtsOpenDB(ts, O_RDONLY); rpmtsSetVSFlags(ts, RPMVSF_DEFAULT); rc = rpmReadPackageFile(ts, fd, filename, &h); + fdClose(fd); *result = '\0'; switch(rc) { case RPMRC_OK: |