Fix crash caused by zeroing a larger buffer than the caller passed in.
Fix crash caused by zeroing a larger buffer than the caller passed in.

ekr/nss-old,nmav/nss,ekr/nss-old,nmav/nss,nmav/nss,ekr/nss-old,nmav/nss,ekr/nss-old,nmav/nss,ekr/nss-old,ekr/nss-old,nmav/nss,nmav/nss,ekr/nss-old