diff options
author | harald@redhat.com <harald@redhat.com> | 2004-10-06 00:27:10 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:37:03 -0700 |
commit | a551c7b0ceb72145a5256cdd53b0b52ff9f766de (patch) | |
tree | 5399b9c3d2ec6eea25442fbb05e8bee5267f8455 /udevstart.c | |
parent | 470c0ef2a6483d1b150d52319eb03b87f7744ea0 (diff) |
[PATCH] PATCH some cleanups and security fixes
posted by Steve Grubb on https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130351
Diffstat (limited to 'udevstart.c')
-rw-r--r-- | udevstart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udevstart.c b/udevstart.c index 9c1d69503d..ba63745620 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; |