Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Sep 2019 16:12:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 222796] [exp-run] with gets removed
Message-ID:  <bug-222796-7788-KOv4Q9Rnkf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222796-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222796-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222796

--- Comment #22 from commit-hook@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@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222796-7788-KOv4Q9Rnkf>