We’re here to help

Endpointprotection: memory leak (handles) because of curl

Comments

3 comments

  • Avatar
    Alain Coetmeur

    I have tested with latest CURL 8.6.0 Win64 and there is no leak in endpoint protection.

    With the curl 8.4.0 provided in Windows, one leak of "handle" appears in endpointprotection for each call to Windows Curl 8.4.0

    Now I will use curl 8.6.0, but the reason the leak happen in endpointprotection and in no other process is problematic.

    I've tested on another PC with another antivirus (Symantec), and there is no leak in any process.

    for test I simply call:


    for /l %i in (1,1,10000) do curl 

    Hope this helps

    0
  • Avatar
    Alain Coetmeur

    I observed the leaks continues, and I've identifed that the cause is now th internal command

    TIMEOUT /T
    you can reproduce it with

    for /l %i in (1,1,60) do timeout /t 1

    and it will increase the Handles count by 60 in one minute

     

     

    0
  • Avatar
    Alain Coetmeur

    PING also cause handles leak in endpointprotection.exe
    You can reproduce it with


    for /l %i in (1,1,60) do ping -n 1 127.0.0.1 > NUL:
    0

Please sign in to leave a comment.