ndubey / vmulti

Automatically exported from code.google.com/p/vmulti
2 stars 0 forks source link

Double free in client.c when SetupDiGetDeviceInterfaceDetail fails #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In OpenDeviceInterface function, client.c:512 when 
SetupDiGetDeviceInterfaceDetail fails the current logic would free 
deviceInterfaceDetailData, then jump to cleanup where there would be an attempt 
to free it again.

The first free() in line 512 should be removed.

Original issue reported on code.google.com by mlukas...@gmail.com on 28 Apr 2014 at 2:46