12-12-2014 12:46 AM
I recently found a bug in a DLL called by LabVIEW. This DLL allocates a memory block with DSNewHandle() and accidently overflows it. As a result LabVIEW crashes randomly and sometimes reports an error in MemoryManager.cpp. The error message is confusing and hard to locate the root cause.
If LabVIEW could add some guard around the allocated memory block and reports "Memory Overflow Detected!" when the guard is corrupt, I believe that can save developers like me a lot of time.
12-12-2014 02:01 AM