mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Fix after gets(3) retirement using gets_s(3).
Bump PORTREVISION as this is a security issue too. PR: 222796 MFH: 2019Q3
This commit is contained in:
parent
951e98a56e
commit
4b8362f61d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=510754
@ -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
|
||||
|
10
math/prng/files/patch-examples_pairs.c
Normal file
10
math/prng/files/patch-examples_pairs.c
Normal file
@ -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";
|
Loading…
Reference in New Issue
Block a user