SHA256
1
0
forked from pool/openscap
Marcus Meissner 2012-08-01 09:56:34 +00:00 committed by Git OBS Bridge
parent 35e0d41701
commit ffaa244002
2 changed files with 0 additions and 16 deletions

View File

@ -1,14 +0,0 @@
Index: openscap-0.8.2/lib/stdio.in.h
===================================================================
--- openscap-0.8.2.orig/lib/stdio.in.h
+++ openscap-0.8.2/lib/stdio.in.h
@@ -733,7 +733,9 @@ _GL_CXXALIASWARN (gets);
/* It is very rare that the developer ever has full control of stdin,
so any use of gets warrants an unconditional warning. Assume it is
always declared, since it is required by C89. */
+# if HAVE_RAW_DECL_GETS
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+# endif
#endif

View File

@ -25,7 +25,6 @@ Release: 1.0
Source: http://www.open-scap.org/download/%name-%version.tar.gz
Source1: oscap-scan.init
Source2: sysconfig.oscap-scan
Patch1: openscap-stdio.h.patch
Url: http://www.open-scap.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libacl-devel
@ -139,7 +138,6 @@ commonly used and require additional dependencies.
%prep
%setup -q
%patch1 -p1
%build