Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2019 05:00:43 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510754 - in head: biology/recombine math/prng/files
Message-ID:  <201909020500.x8250h7L057164@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Mon Sep  2 05:00:43 2019
New Revision: 510754
URL: https://svnweb.freebsd.org/changeset/ports/510754

Log:
  Fix after gets(3) retirement using gets_s(3).
  
  Bump PORTREVISION as this is a security issue too.
  
  PR:		222796
  MFH:		2019Q3

Added:
  head/math/prng/files/patch-examples_pairs.c   (contents, props changed)
Modified:
  head/biology/recombine/Makefile   (contents, props changed)

Modified: head/biology/recombine/Makefile
==============================================================================
--- head/biology/recombine/Makefile	Mon Sep  2 05:00:38 2019	(r510753)
+++ head/biology/recombine/Makefile	Mon Sep  2 05:00:43 2019	(r510754)
@@ -3,7 +3,7 @@
 
 PORTNAME=	recombine
 PORTVERSION=	1.41
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	biology
 MASTER_SITES=	http://evolution.gs.washington.edu/lamarc/recombine/
 DISTNAME=	${PORTNAME}${PORTVERSION}.src.doc

Added: head/math/prng/files/patch-examples_pairs.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/prng/files/patch-examples_pairs.c	Mon Sep  2 05:00:43 2019	(r510754)
@@ -0,0 +1,10 @@
+--- examples/pairs.c.orig	2000-10-17 08:39:02.000000000 -0700
++++ examples/pairs.c	2019-09-01 21:02:29.348451000 -0700
+@@ -53,6 +53,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include "prng.h"
++#define gets(_a) gets_s(_a, sizeof(_a))
+ 
+ struct prng_struct *generator;
+ char outfile[200] = "pairs.out";



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909020500.x8250h7L057164>