Software designed to prevent cyber-attacks had a bug that could have let hackers get at machines.