- add a patch to fix a use-after-free
- bump portrevision Submitted by: pilot <pilot@monkey.org> (upstream) (by mail) Obtained from: OpenBSD port
This commit is contained in:
parent
5f7e53be98
commit
fae396e41a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273313
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= arirang
|
||||
PORTVERSION= 2.02
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= security www
|
||||
MASTER_SITES= http://monkey.org/~pilot/arirang/
|
||||
|
22
security/arirang/files/patch-ariruby.c
Normal file
22
security/arirang/files/patch-ariruby.c
Normal file
@ -0,0 +1,22 @@
|
||||
--- ariruby.c.orig Fri Apr 29 09:23:11 2011
|
||||
+++ ariruby.c Fri Apr 29 09:24:14 2011
|
||||
@@ -519,9 +519,6 @@
|
||||
if (sendbuf != NULL)
|
||||
free(sendbuf);
|
||||
|
||||
- if (headbuf != NULL)
|
||||
- free(headbuf);
|
||||
-
|
||||
if (nb == -1 || nb == -2) {
|
||||
#if !(defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__))
|
||||
alarm(0);
|
||||
@@ -543,6 +540,9 @@
|
||||
if (!pflags)
|
||||
exit(0);
|
||||
}
|
||||
+
|
||||
+ if (headbuf != NULL)
|
||||
+ free(headbuf);
|
||||
|
||||
if (sslflags)
|
||||
ssl_free(ctx, ssl);
|
Loading…
Reference in New Issue
Block a user