greggman7

↗ HN profile [ 41.3 ms ] full profile
Karma
41
Created
January 4, 2024 (2y ago)
Submissions
0
  1. Debugging some 3rd party library I ran into a "reference a stack object that no longer exists" error. repo #include <iostream> int* f() { int x = 4; int* xp = &x; return xp; } int main() { int* p = f(); std::cout << *p;…