PERFORCE change 178105 for review
Garrett Cooper
gcooper at FreeBSD.org
Tue May 11 16:27:51 UTC 2010
http://p4web.freebsd.org/@@178105?ac=10
Change 178105 by gcooper at starr on 2010/05/11 16:26:52
strlen wasn't on the value to test. Silly me.
Affected files ...
.. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/create/perform.c#13 edit
Differences ...
==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/create/perform.c#13 (text+ko) ====
@@ -588,7 +588,7 @@
/* First @cwd -- wewt! */
if (prefix == NULL) {
- if (strlen(prefix) > MAX_PATH)
+ if (strlen(p->name) > MAX_PATH)
error = strerror(ENAMETOOLONG);
else {
More information about the p4-projects
mailing list