HomeFreeBSD

ZSTDIO: Correctly initialize zstd context with provided 'level'

Description

ZSTDIO: Correctly initialize zstd context with provided 'level'

Prior to this revision, we allocated sufficient context space for 'level'
but never actually set the compress level parameter, so we would always get
the default '3'.

Reviewed by: markj, vangyzen
MFC after: 12 hours
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D17144

Details

Provenance
cemAuthored on Oct 20 2018, 9:49 PM
Parents
rG0a3a36cd946e: getentropy(3): Trap non-API errnos from getrandom(2) and abort
Branches
Unknown
Tags
Unknown

Event Timeline