QiAnXinCodeSafe opened this issue 6 years ago · 1 comments
joy/src/procwatch.c
Line 546 in 5dd5b71
dummy_string defined here:
Line 520 in 5dd5b71
macro PID_MAX_LEN defined here:
Line 513 in 5dd5b71
no limitation for "%s" while calling fscanf() may cause overwrite.
rc = fscanf(ps_file,"%lu %64s\n",&ps_pid,dummy_string);
Line 724 in 5dd5b71