hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

Memory leak?

Open QiAnXinCodeSafe opened this issue 1 year ago • 2 comments

Hi all, This is Qianxin CodeSafe Team, we found a suspicious issue, at https://github.com/facebook/hhvm/blob/6999172b83a52057636859b59031fcbcab74b020/hphp/neo/neo_hdf.c#L480 Assume that the condition value is false,at https://github.com/facebook/hhvm/blob/6999172b83a52057636859b59031fcbcab74b020/hphp/neo/neo_hdf.c#L97 Let's say that name is equal to the value of the NULL,at https://github.com/facebook/hhvm/blob/6999172b83a52057636859b59031fcbcab74b020/hphp/neo/neo_hdf.c#L105 Assume that 'err' and 'STATUS_OK' have unequal values https://github.com/facebook/hhvm/blob/6999172b83a52057636859b59031fcbcab74b020/hphp/neo/neo_hdf.c#L479

QiAnXinCodeSafe avatar Sep 30 '24 08:09 QiAnXinCodeSafe