procfs(/proc/<PID>/task/<TID>/stat): fix memory corruption

refs #722
This commit is contained in:
Tomoki Shirasawa
2016-02-15 15:10:00 +09:00
parent 6cda6792a9
commit c328d26b8d

View File

@ -545,7 +545,6 @@ process_procfs_request(unsigned long rarg)
0L, 0, thread->cpu_id, 0, // cnswap...
0, 0LL, 0L, 0L // policy...
);
thread_unlock(thread, &lock);
dprintf("tmp=%s\n", tmp);
len = strlen(tmp);