* Increase buffer size for path checking to normal limit PATH_MAX+1
This commit is contained in:
parent
94a203f9e1
commit
2950c304a1
@ -454,8 +454,8 @@ int readproc(int do_stat)
|
|||||||
PROC *p, *n;
|
PROC *p, *n;
|
||||||
struct dirent *d;
|
struct dirent *d;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
char path[256];
|
char path[PATH_MAX+1];
|
||||||
char buf[256];
|
char buf[PATH_MAX+1];
|
||||||
char *s, *q;
|
char *s, *q;
|
||||||
unsigned long startcode, endcode;
|
unsigned long startcode, endcode;
|
||||||
int pid, f;
|
int pid, f;
|
||||||
|
Loading…
Reference in New Issue
Block a user