Freezing will kill whatever bugs in almost anything; flour, rice, corn meal ...
Bring it home, toss it in the freezer for 4-5 days, then pull it out and slap it on the counter for another 2-3 days til it defrosts and dries out. After that, you can bag it, bucket it, vacuum pack it or whatever you choose.