Can't subtract NULL pointer from valid pointer. Crashes on Linux systems when sending apps.