[#2212] CID25801 and CID25690:

don't allow zero as a rate or a size