diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2010-07-23 00:38:55 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2010-07-23 00:38:55 +0000 |
commit | d0b563983c17b73dbad2ad24dee475d9ae10202f (patch) | |
tree | d626756527d9539a44b7fbdcc47022a7a20aae07 /devel/git | |
parent | 6376812923a09a8841792fd301499eb5306cb035 (diff) |
Notes
Diffstat (limited to 'devel/git')
-rw-r--r-- | devel/git/Makefile | 1 | ||||
-rw-r--r-- | devel/git/files/patch-setup.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/git/Makefile b/devel/git/Makefile index acb9c5054518..e338af48c05a 100644 --- a/devel/git/Makefile +++ b/devel/git/Makefile @@ -7,6 +7,7 @@ PORTNAME= git PORTVERSION= 1.7.1.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_KERNEL_ORG} MASTER_SITE_SUBDIR= software/scm/${PORTNAME} diff --git a/devel/git/files/patch-setup.c b/devel/git/files/patch-setup.c new file mode 100644 index 000000000000..c5b46349ff7d --- /dev/null +++ b/devel/git/files/patch-setup.c @@ -0,0 +1,11 @@ +--- ./setup.c.orig 2010-07-22 11:30:51.186311264 -0400 ++++ ./setup.c 2010-07-22 11:32:10.173155632 -0400 +@@ -170,6 +170,8 @@ + char path[PATH_MAX]; + size_t len = strlen(suspect); + ++ if (PATH_MAX <= len + strlen("/objects")) ++ die("Too long path: %.*s", 60, suspect); + strcpy(path, suspect); + if (getenv(DB_ENVIRONMENT)) { + if (access(getenv(DB_ENVIRONMENT), X_OK)) |