Comment Comment by pwdisswordfishy But if the assertion fails, the program is aborted before the pointer would have been dereferenced, making it not UB. This explanation is bogus. parent pwdisswordfishy 7 months ago