1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-28 17:57:25 +03:00

[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 2004-10-06 00:27:10 -07:00 committed by Greg KH
parent 470c0ef2a6
commit a551c7b0ce

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;