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:
parent
470c0ef2a6
commit
a551c7b0ce
@ -211,7 +211,7 @@ static void udev_scan_class(void)
|
|||||||
dir2 = opendir(dirname);
|
dir2 = opendir(dirname);
|
||||||
if (dir2 != NULL) {
|
if (dir2 != NULL) {
|
||||||
for (dent2 = readdir(dir2); dent2 != NULL; dent2 = readdir(dir2)) {
|
for (dent2 = readdir(dir2); dent2 != NULL; dent2 = readdir(dir2)) {
|
||||||
char dirname2[MAX_PATHLEN-1];
|
char dirname2[MAX_PATHLEN];
|
||||||
DIR *dir3;
|
DIR *dir3;
|
||||||
struct dirent *dent3;
|
struct dirent *dent3;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user