diff options
author | roam <roam@FreeBSD.org> | 2001-04-12 15:05:34 +0800 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2001-04-12 15:05:34 +0800 |
commit | 33cb962c277af13ff2ffdd48768529653bb292f6 (patch) | |
tree | 7c069f8fd3b993c086e02a380c81868c90c2f1a3 | |
parent | bbe709fd7cde1586ec27f5229a14f981e72f3b24 (diff) | |
download | freebsd-ports-gnome-33cb962c277af13ff2ffdd48768529653bb292f6.tar.gz freebsd-ports-gnome-33cb962c277af13ff2ffdd48768529653bb292f6.tar.zst freebsd-ports-gnome-33cb962c277af13ff2ffdd48768529653bb292f6.zip |
Initialize a linked list before returning if no HTTP cookies are available.
Bump PORTREVISION to indicate a bugfix.
Submitted by: Alexey V. Neyman <avn@any.ru>
-rw-r--r-- | www/cgihtml/Makefile | 1 | ||||
-rw-r--r-- | www/cgihtml/files/patch-aa | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/www/cgihtml/Makefile b/www/cgihtml/Makefile index d519203f95ec..50b48632e0a8 100644 --- a/www/cgihtml/Makefile +++ b/www/cgihtml/Makefile @@ -7,6 +7,7 @@ PORTNAME= cgihtml PORTVERSION= 1.69 +PORTREVISION= 1 CATEGORIES= www devel MASTER_SITES= ftp://hcs.harvard.edu/pub/web/tools/cgihtml/ diff --git a/www/cgihtml/files/patch-aa b/www/cgihtml/files/patch-aa new file mode 100644 index 000000000000..c9a4210cdd20 --- /dev/null +++ b/www/cgihtml/files/patch-aa @@ -0,0 +1,13 @@ +--- cgi-lib.c Wed Apr 11 20:03:57 2001 ++++ cgi-lib.c Wed Apr 11 20:04:20 2001 +@@ -529,9 +529,9 @@ + int numcookies = 0; + short NM = 1; + ++ list_create(entries); + if (cookies == NULL) + return 0; +- list_create(entries); + window = entries->head; + len = strlen(cookies); + entry.name = (char *)malloc(sizeof(char) * len + 1); |