Watch Out for Squatting dlcompat’s

<pogma> I figured putting cleanup code woulf be safe, exit(3) would call my cleanup function installed with atexit(3) and nothing would call dl* functions after that (hey! we are in exit), but on occasion c++ static destructors can get called after the cleanup code, and they might call a dl* function
<pogma> then dlcompat squats on my head and does a big poop

Share on Facebook

Comments are closed.