If your code allocates PATH_MAX bytes to store a user-provided file path you might be in for a bad time.
Yes this is a subtoot