VireoSDK icon indicating copy to clipboard operation
VireoSDK copied to clipboard

Create an abort mechanism that can abort the runtime quickly closer to the allocation failure

Open Devika-Tantry opened this issue 4 years ago • 1 comments

For example, during the Malloc, if any allocation fails, we are printing the message here and continuing with other statements. This may lead to a segmentation fault in succeeding code where we try to access this memory that is not allocated. We should create a mechanism to abort the runtime quickly as we get to know about allocation failure to avoid other segmentation faults. @rajsite suggestion in #681 : To use the C abort function.

Devika-Tantry avatar Jun 22 '21 13:06 Devika-Tantry

Related to https://github.com/ni/VireoSDK/issues/521

rajsite avatar Jun 22 '21 22:06 rajsite