GNU bug report logs - #25490
idutils: (gets, "gets is a security hole - use fgets instead")

Previous Next

Package: idutils;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Fri, 20 Jan 2017 01:43:01 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <bugs <at> gnu.support>
To: bug-idutils <at> gnu.org
Subject: idutils: (gets, "gets is a security hole - use fgets instead")
Date: Fri, 20 Jan 2017 04:39:09 +0300
Here is the bug report:

mv -f configmake.h-t configmake.h
  GEN      c++defs.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      dirent.h
  GEN      fcntl.h
  GEN      langinfo.h
  GEN      math.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      strings.h
  GEN      sys/ioctl.h
  GEN      sys/stat.h
  GEN      sys/types.h
  GEN      time.h
  GEN      unistd.h
  GEN      unitypes.h
  GEN      uniwidth.h
  GEN      wchar.h
  GEN      wctype.h
make  all-am
make[3]: Entering directory '/sources/gnu/idutils-4.6/lib'
  CC       argv-iter.o
In file included from argv-iter.h:17:0,
                 from argv-iter.c:20:
./stdio.h:1030:1: error: 'gets' undeclared here (not in a function)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 ^
make[3]: *** [Makefile:1590: argv-iter.o] Error 1
make[3]: Leaving directory '/sources/gnu/idutils-4.6/lib'
make[2]: *** [Makefile:1388: all] Error 2
make[2]: Leaving directory '/sources/gnu/idutils-4.6/lib'
make[1]: *** [Makefile:1278: all-recursive] Error 1
make[1]: Leaving directory '/sources/gnu/idutils-4.6'
make: *** [Makefile:1233: all] Error 2




This bug report was last modified 8 years and 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.