Pregunta de entrevista de Palo Alto Networks

I was requested to read C code, tell what it does, spot vulns and explain how I would exploit them without and with mitigations. Along the way some questions about Linux internals.