kern: do not read wdir size on Broken processes
This commit is contained in:
parent
e0b8a369d0
commit
c48d0e46ec
|
@ -249,7 +249,8 @@ procgen(Chan *c, char *name, Dirtab *tab, int _1, int s, Dir *dp)
|
|||
/* file length might be relevant to the caller to
|
||||
* malloc enough space in the buffer
|
||||
*/
|
||||
len = 1 + jehanne_strlen(p->dot->path->s);
|
||||
if(p->dot)
|
||||
len = 1 + jehanne_strlen(p->dot->path->s);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue