To make sure the foods you put up for long term storage are bug free put them through a freezer cycle to kill any critters that may be in them.
Google the subject to learn how long to freeze, etc.
Interesting. Thanks for the tip.