I would discount any reliance on the software in 'drones' as almost all of it is being hacked and I wouldn't be surprised to see totally jailbroken drones on the market.
So soft walls, altitude limits, range limits are all only in software and are actively being removed.
https://www.theregister.co.uk/2017/0...rones_app_sec/