Re: [PATCH 2/2] proc/info: Fix EIO with /proc/6/stat

2021-06-05 Thread Samuel Thibault
I don't think we want to "fix" it like this, this is very probably only papering over an actual issue that could bite another way. We need to find out the root issue, rather than circumvent it. I see on IRC that you mention that you have a NULL string pointer, which results in an ESRCH error here

[PATCH 2/2] proc/info: Fix EIO with /proc/6/stat

2021-06-05 Thread Damien Zammit
--- proc/info.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proc/info.c b/proc/info.c index 6c2567d2..9c5d3543 100644 --- a/proc/info.c +++ b/proc/info.c @@ -316,7 +316,10 @@ get_string_array (task_t t, err = get_vector (t, loc, &vector); if (err) -return er