[sr-dev] git:master: kamcmd: proper size for memset, based on malloc