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-ssl.c, a pointer variable named banner1 is defined at line 1272. At line 1289, a new dynamic memory area is allocated to this variable through the function banner1_create. If the if statement at line 1298 returns true, the function will return at line 1300, thus skipping the memory release operation for the dynamic memory area pointed to by banner1 at line 1304, resulting in a memory leak defect, as shown in the figure below: https://github.com/LuMingYinDetect/masscan_defects/blob/main/masscan_4.png
The text was updated successfully, but these errors were encountered:
In the file /masscan/src/proto-ssl.c, a pointer variable named banner1 is defined at line 1272. At line 1289, a new dynamic memory area is allocated to this variable through the function banner1_create. If the if statement at line 1298 returns true, the function will return at line 1300, thus skipping the memory release operation for the dynamic memory area pointed to by banner1 at line 1304, resulting in a memory leak defect, as shown in the figure below:
https://github.com/LuMingYinDetect/masscan_defects/blob/main/masscan_4.png
The text was updated successfully, but these errors were encountered: