A software bug at a widely used internet-service provider that caused it to leak data has created a potential security headache for thousands of its corporate customers. The bug at Cloudflare Inc., disclosed Thursday, has affected company systems since September of last year.