You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: