5 karma · joined Dec 14, 2020 (5y ago) · 2 submissions
comment 5y ago · link · parent
This line is UB, no? You are referencing some random, if adjacent, block of memory. Anything can happen.