[PATCH] PATCH some cleanups and security fixes

posted by Steve Grubb on https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130351
This commit is contained in:
harald@redhat.com
2005-04-26 21:37:03 -07:00
committed by Greg KH
parent 470c0ef2a6
commit a551c7b0ce
+1 -1
View File
@@ -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;