diff options
author | kris <kris@FreeBSD.org> | 2003-06-27 11:55:49 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-06-27 11:55:49 +0800 |
commit | f70e9c8e3fe11b195aeb65d755e341376e8c94ea (patch) | |
tree | 99a7bd54a8deb2c23638a24ca2757bfdeec380b7 /databases | |
parent | 7a5dfbebd6b5009903d43546c9e75a0dc1f1b9c2 (diff) | |
download | freebsd-ports-gnome-f70e9c8e3fe11b195aeb65d755e341376e8c94ea.tar.gz freebsd-ports-gnome-f70e9c8e3fe11b195aeb65d755e341376e8c94ea.tar.zst freebsd-ports-gnome-f70e9c8e3fe11b195aeb65d755e341376e8c94ea.zip |
Increase a buffer size to avoid overflow. Bump PORTREVISION.
Obtained from: OpenBSD
Diffstat (limited to 'databases')
-rw-r--r-- | databases/sqsh/Makefile | 2 | ||||
-rw-r--r-- | databases/sqsh/files/patch-src_var_date_c | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/databases/sqsh/Makefile b/databases/sqsh/Makefile index d49e2d266d2e..0c9e0d4c6016 100644 --- a/databases/sqsh/Makefile +++ b/databases/sqsh/Makefile @@ -6,7 +6,7 @@ PORTNAME= sqsh PORTVERSION= 2.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= databases MASTER_SITES= http://www.sqsh.org/ EXTRACT_SUFX= -src.tar.gz diff --git a/databases/sqsh/files/patch-src_var_date_c b/databases/sqsh/files/patch-src_var_date_c new file mode 100644 index 000000000000..3c2b48e5053d --- /dev/null +++ b/databases/sqsh/files/patch-src_var_date_c @@ -0,0 +1,21 @@ +$OpenBSD: patch-src_var_date_c,v 1.1 2003/04/16 08:29:17 avsm Exp $ +--- src/var_date.c.orig Mon Apr 14 13:35:42 2003 ++++ src/var_date.c Mon Apr 14 13:38:30 2003 +@@ -44,7 +44,7 @@ int var_get_date( env, var_name, var_val + char *var_name ; + char **var_value ; + { +- static char date_str[32] ; /* Hopefully large enough */ ++ static char date_str[64] ; /* Hopefully large enough */ + char *date_fmt ; + time_t cur_time ; + +@@ -69,7 +69,7 @@ int var_get_time( env, var_name, var_val + char *var_name ; + char **var_value ; + { +- static char time_str[32] ; /* Hopefully large enough */ ++ static char time_str[64] ; /* Hopefully large enough */ + char *time_fmt ; + time_t cur_time ; + |