The deal is good on October 31, 2015 at participating Sonic locations, while supplies last. There is no limit on how many you can buy.
Sonic's Corn Dogs normally go for $1 or more (varying with location). It's a popular promotion as Sonic tends to offer similar 50-cent corn dog deals several times throughout the year.