Apple is usually excellent in this area, often keeping older generations of its products on the latest versions of the operating system or at least blessed with security updates to keep them safe.