make 'memset' calls more robust; refs #7341
make 'memset' calls more robust; refs #7341

dom96/Nim,russpowers/Nim,russpowers/Nim,russpowers/Nim,russpowers/Nim,russpowers/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,russpowers/Nim,dom96/Nim,russpowers/Nim