]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
[PATCH] PATCH some cleanups and security fixes
authorharald@redhat.com <harald@redhat.com>
Wed, 6 Oct 2004 07:27:10 +0000 (00:27 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:37:03 +0000 (21:37 -0700)
posted by Steve Grubb on https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130351

udevstart.c

index 9c1d69503d68c959eafd9ec741c491278e898f86..ba63745620cbeec1e5d3ac5744a45a30d4bacb62 100644 (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;