Heap Corruption in DL::Handle
The test case below on Window, when running with -RCT1, reveals heap corruption. The problem is that gettimeofday is defined in the c library on windows, so the function is never found. That causes handle.c to incorrectly deallocate a buffer which it then writes to. Patch is attached.
extern "int gettimeofday(timeval*, timezone*)" rescue nil
class TestImport < TestBase