[Bug 222796] [exp-run] with gets removed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 1 16:12:25 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222796

--- Comment #22 from commit-hook at freebsd.org ---
A commit references this bug:

Author: emaste
Date: Sun Sep  1 16:12:07 UTC 2019
New revision: 351659
URL: https://svnweb.freebsd.org/changeset/base/351659

Log:
  libc: remove gets

  gets is unsafe and shouldn't be used (for many years now).  Leave it in
  the existing symbol version so anything that previously linked aginst it
  still runs, but do not allow new software to link against it.

  (The compatability/legacy implementation must not be static so that
  the symbol and in particular the compat sym gets at FBSD_1.0 make it
  into libc.)

  PR:           222796 (exp-run)
  Reported by:  Paul Vixie
  Reviewed by:  allanjude, cy, eadler, gnn, jhb, kib, ngie (some earlier)
  Relnotes:     Yes
  Sponsored by: The FreeBSD Foundation
  Differential Revision:        https://reviews.freebsd.org/D12298

Changes:
  head/contrib/libc++/include/cstdio
  head/contrib/netbsd-tests/lib/libc/ssp/h_gets.c
  head/gnu/lib/libssp/Makefile
  head/include/stdio.h
  head/lib/libc/stdio/fgets.3
  head/lib/libc/stdio/gets.c
  head/lib/libc/stdio/stdio.3

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list