Dairy Queen says its facilities in Hannibal, Vandalia, Louisiana and Bowling Green are not affected by the security breach that impacted almost 400 restaurants nationwide.

The company says hackers accessed customer names, credit and debit card numbers and expiration dates. The malware intrusion happened between August and October, but varied from store to store.

The Quincy Mall Dairy Queen is among the affected locations.

In all, 17 sites in Missouri and 19 in Illinois were impacted.

Dairy Queen is providing free identity repair services for a year to customers who used a credit or debit card at an affected outlet during the time period covered. A complete list of affected restaurants is available on the firm’s website.