Critical flaw found in software used by many industrial control systems