1a4ed9f751
Bump package revision.
11 lines
438 B
Text
11 lines
438 B
Text
--- src/vpaccess.c.orig 2001-07-18 14:49:02.000000000 +0100
|
|
+++ src/vpaccess.c 2006-05-29 14:34:26.000000000 +0100
|
|
@@ -49,7 +49,7 @@
|
|
if ((returncode = access(path, amode)) == -1 && path[0] != '/') {
|
|
vpinit(NULL);
|
|
for (i = 1; i < vpndirs; i++) {
|
|
- (void) sprintf(buf, "%s/%s", vpdirs[i], path);
|
|
+ (void) snprintf(buf, sizeof(buf), "%s/%s", vpdirs[i], path);
|
|
if ((returncode = access(buf, amode)) != -1) {
|
|
break;
|
|
}
|