This commit is contained in:
parent
236c2847b3
commit
41cc7608fe
3
clamav-0.90.1.tar.bz2
Normal file
3
clamav-0.90.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8afd4fe3e0dd2d6f25b3f3095dfe9e5d7a8e8785e5611fdd6f5846296f90b492
|
||||
size 11205477
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8dd081c8d381d896151cb13e769099df2f62f86395fbeb2d6c7ed5d44f25008a
|
||||
size 11153606
|
@ -1,27 +1,20 @@
|
||||
--- shared/misc.c
|
||||
+++ shared/misc.c
|
||||
@@ -319,18 +319,12 @@
|
||||
fputs("Background mode is not supported on your operating system\n", stderr);
|
||||
return;
|
||||
#else
|
||||
- int i;
|
||||
-
|
||||
-
|
||||
@@ -268,7 +268,7 @@
|
||||
int i;
|
||||
|
||||
|
||||
- if((i = open("/dev/null", O_WRONLY)) == -1) {
|
||||
- for(i = 0; i <= 2; i++)
|
||||
- close(i);
|
||||
-
|
||||
- } else {
|
||||
- close(0);
|
||||
- dup2(i, 1);
|
||||
- dup2(i, 2);
|
||||
- }
|
||||
+ close(0);
|
||||
+ open("/dev/null", O_RDONLY);
|
||||
+ close(1);
|
||||
+ open("/dev/null", O_WRONLY);
|
||||
+ close(2);
|
||||
+ open("/dev/null", O_WRONLY);
|
||||
+ if((i = open("/dev/null", O_RDWR)) == -1) {
|
||||
for(i = 0; i <= 2; i++)
|
||||
close(i);
|
||||
|
||||
@@ -276,6 +276,8 @@
|
||||
dup2(i, 0);
|
||||
dup2(i, 1);
|
||||
dup2(i, 2);
|
||||
+ if (i > 2)
|
||||
+ close(i);
|
||||
}
|
||||
|
||||
if(fork())
|
||||
exit(0);
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 2 14:38:54 CET 2007 - max@suse.de
|
||||
|
||||
- Update to version 0.90.1 (#250566)
|
||||
- Some bug fixes and code improvements
|
||||
- Bumps the version of libclamav's soname, which should have been
|
||||
done in 0.90 already.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 14:55:04 CET 2007 - max@suse.de
|
||||
|
||||
|
11
clamav.spec
11
clamav.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package clamav (Version 0.90)
|
||||
# spec file for package clamav (Version 0.90.1)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -15,7 +15,7 @@ Name: clamav
|
||||
BuildRequires: bc curl-devel gmp-devel pkgconfig tcpd-devel
|
||||
%endif
|
||||
Summary: Antivirus Toolkit
|
||||
Version: 0.90
|
||||
Version: 0.90.1
|
||||
Release: 1
|
||||
License: GNU General Public License (GPL)
|
||||
Group: Productivity/Security
|
||||
@ -115,7 +115,7 @@ rm -rf %buildroot
|
||||
%defattr(-,root,root,-)
|
||||
%config(noreplace) %_sysconfdir/*.conf
|
||||
%config %attr(744,root,root)/etc/init.d/*
|
||||
%doc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README TODO UPGRADE
|
||||
%doc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README UPGRADE
|
||||
%doc docs/*.pdf docs/html
|
||||
%doc %_mandir/*/*
|
||||
%_bindir/*
|
||||
@ -200,6 +200,11 @@ for distfile in {main,daily}.cvd.dist; do
|
||||
done
|
||||
|
||||
%changelog
|
||||
* Fri Mar 02 2007 - max@suse.de
|
||||
- Update to version 0.90.1 (#250566)
|
||||
- Some bug fixes and code improvements
|
||||
- Bumps the version of libclamav's soname, which should have been
|
||||
done in 0.90 already.
|
||||
* Tue Feb 20 2007 - max@suse.de
|
||||
- Update to version 0.90 (#246214) to fix two Vulnerabilities:
|
||||
- CAB File Denial of Service (CVE-2007-0897)
|
||||
|
Loading…
x
Reference in New Issue
Block a user