From a551c7b0ceb72145a5256cdd53b0b52ff9f766de Mon Sep 17 00:00:00 2001 From: "harald@redhat.com" Date: Wed, 6 Oct 2004 00:27:10 -0700 Subject: [PATCH] [PATCH] PATCH some cleanups and security fixes posted by Steve Grubb on https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130351 --- udevstart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udevstart.c b/udevstart.c index 9c1d69503..ba6374562 100644 --- a/udevstart.c +++ b/udevstart.c @@ -211,7 +211,7 @@ static void udev_scan_class(void) dir2 = opendir(dirname); if (dir2 != NULL) { for (dent2 = readdir(dir2); dent2 != NULL; dent2 = readdir(dir2)) { - char dirname2[MAX_PATHLEN-1]; + char dirname2[MAX_PATHLEN]; DIR *dir3; struct dirent *dent3; -- 2.30.2