You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the file /masscan/src/proto-http.c, a pointer variable named banner1 is defined at line 715. At line 726, a new dynamic memory area is allocated to this variable through the function banner1_create. If the if statement at line 747 returns true, the function will return at line 749, thus skipping the memory release operation for the dynamic memory area pointed to by banner1 at line 756, resulting in a memory leak defect, as shown in the figure below: https://github.com/LuMingYinDetect/masscan_defects/blob/main/masscan_2.png
The text was updated successfully, but these errors were encountered:
In the file /masscan/src/proto-http.c, a pointer variable named banner1 is defined at line 715. At line 726, a new dynamic memory area is allocated to this variable through the function banner1_create. If the if statement at line 747 returns true, the function will return at line 749, thus skipping the memory release operation for the dynamic memory area pointed to by banner1 at line 756, resulting in a memory leak defect, as shown in the figure below:
https://github.com/LuMingYinDetect/masscan_defects/blob/main/masscan_2.png
The text was updated successfully, but these errors were encountered: