3 ms·
My understanding is that the code which aborts the process contains the potential for UB.
by ridiculous_fish 3y ago
My understanding is that the code which aborts the process contains the potential for UB.
- kibwen 3y agoAs far as I know, in the case of stack overflow, the code that aborts the process should literally just be a single line of assembly that contains an invalid opcode, resulting in a (safe) segfault. What has given you the impression that there is potential for UB in these code paths? EDIT: ah, I see your other comment.