Closed AiDaiP closed 2 years ago
Uploaded a fix for this case -- but rather than attempting to handle it, the function just returns without further action, just like when there's no comma. Note, there could also be a missing '(' which would then still recreate the null pointer deref thanks for reporting this!
NULL Pointer Dereference in set_create_id()
Description
NULL Pointer Dereference in
set_create_id()
at xtract.c:3797.If there is no
&
in the first argument ofpthread_t()
,s
will be NULL and the nextstrchr()
will crash.version
acfa291
System information Ubuntu 20.04 focal, AMD EPYC 7742 64-Core @ 16x 2.25GHz
poc
command
Result
gdb
fix
Should we add some code here to handle it?
If there is no
&
,get the substring from the 1st '(' to the 1st ',' in OutBuf.